Home
last modified time | relevance | path

Searched refs:__libcpp_is_referenceable (Results 1 – 7 of 7) sorted by relevance

/llvm-project/libcxx/test/libcxx/utilities/meta/
H A Dis_referenceable.pass.cpp24 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 Dobjc_support.compile.pass.mm36 // __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 Dis_referenceable.h24 struct __libcpp_is_referenceable : integral_constant<bool, __is_referenceable(_Tp)> {}; struct
34 struct __libcpp_is_referenceable
H A Dadd_rvalue_reference.h28 template <class _Tp, bool = __libcpp_is_referenceable<_Tp>::value>
H A Dadd_lvalue_reference.h28 template <class _Tp, bool = __libcpp_is_referenceable<_Tp>::value>
H A Dadd_pointer.h29 template <class _Tp, bool = __libcpp_is_referenceable<_Tp>::value || is_void<_Tp>::value>
H A Ddecay.h58 using type _LIBCPP_NODEBUG = typename __decay<_Up, __libcpp_is_referenceable<_Up>::value>::type;