Searched refs:__libcpp_is_referenceable (Results 1 – 7 of 7) sorted by relevance
/llvm-project/libcxx/test/libcxx/utilities/meta/ |
H A D | is_referenceable.pass.cpp | 24 static_assert((!std::__libcpp_is_referenceable<void>::value), ""); 25 static_assert((std::__libcpp_is_referenceable<int>::value), ""); 26 static_assert((std::__libcpp_is_referenceable<int[3]>::value), ""); 27 static_assert((std::__libcpp_is_referenceable<int[]>::value), ""); 28 static_assert((std::__libcpp_is_referenceable<int&>::value), ""); 29 static_assert((std::__libcpp_is_referenceable<const int&>::value), ""); 30 static_assert((std::__libcpp_is_referenceable<int*>::value), ""); 31 static_assert((std::__libcpp_is_referenceable<const int*>::value), ""); 32 static_assert((std::__libcpp_is_referenceable<Foo>::value), ""); 33 static_assert((std::__libcpp_is_referenceable<const Foo>::value), ""); [all …]
|
/llvm-project/libcxx/test/std/utilities/meta/meta.trans/ |
H A D | objc_support.compile.pass.mm | 36 // __libcpp_is_referenceable 37 LIBCPP_STATIC_ASSERT(std::__libcpp_is_referenceable<id>::value, ""); 38 LIBCPP_STATIC_ASSERT(std::__libcpp_is_referenceable<id*>::value, ""); 39 LIBCPP_STATIC_ASSERT(std::__libcpp_is_referenceable<id&>::value, ""); 40 LIBCPP_STATIC_ASSERT(std::__libcpp_is_referenceable<id&&>::value, ""); 41 LIBCPP_STATIC_ASSERT(std::__libcpp_is_referenceable<I>::value, ""); 42 LIBCPP_STATIC_ASSERT(std::__libcpp_is_referenceable<I*>::value, ""); 43 LIBCPP_STATIC_ASSERT(std::__libcpp_is_referenceable<I&>::value, ""); 44 LIBCPP_STATIC_ASSERT(std::__libcpp_is_referenceable<I&&>::value, "");
|
/llvm-project/libcxx/include/__type_traits/ |
H A D | is_referenceable.h | 24 struct __libcpp_is_referenceable : integral_constant<bool, __is_referenceable(_Tp)> {}; struct 34 struct __libcpp_is_referenceable
|
H A D | add_rvalue_reference.h | 28 template <class _Tp, bool = __libcpp_is_referenceable<_Tp>::value>
|
H A D | add_lvalue_reference.h | 28 template <class _Tp, bool = __libcpp_is_referenceable<_Tp>::value>
|
H A D | add_pointer.h | 29 template <class _Tp, bool = __libcpp_is_referenceable<_Tp>::value || is_void<_Tp>::value>
|
H A D | decay.h | 58 using type _LIBCPP_NODEBUG = typename __decay<_Up, __libcpp_is_referenceable<_Up>::value>::type;
|