| /llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/ |
| H A D | ctor_iter_constraint.compile.pass.cpp | 33 static_assert( std::is_constructible<std::vector<int>, int*, int*>::value, ""); 34 static_assert( std::is_constructible<std::vector<int>, int , int >::value, ""); 37 static_assert( std::is_constructible<std::priority_queue<int>, int*, int*>::value, ""); 38 static_assert(!std::is_constructible<std::priority_queue<int>, int , int >::value, ""); 40 static_assert( std::is_constructible<std::priority_queue<int>, int*, int*, std::less<int>>::value, … 41 static_assert(!std::is_constructible<std::priority_queue<int>, int , int , std::less<int>>::value, … 43 static_assert( std::is_constructible<std::priority_queue<int>, int*, int*, std::less<int>, std::vec… 44 static_assert(!std::is_constructible<std::priority_queue<int>, int , int , std::less<int>, std::vec… 46 static_assert( std::is_constructible<std::priority_queue<int>, int*, int*, std::less<int>, std::vec… 49 static_assert( std::is_constructible<std::priority_queue<int>, int*, int*, std::allocator<int>>::va… [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
| H A D | pointer_deleter.pass.cpp | 62 static_assert(std::is_constructible<U, int*, D&>::value, ""); in test_sfinae() 63 static_assert(std::is_constructible<U, int*, D&&>::value, ""); in test_sfinae() 73 static_assert(!std::is_constructible<U, int*, D&>::value, ""); in test_sfinae() 74 static_assert(std::is_constructible<U, int*, D&&>::value, ""); in test_sfinae() 89 static_assert(std::is_constructible<U, int*, D&>::value, ""); in test_sfinae() 97 static_assert(std::is_constructible<U, int*, D&>::value, ""); in test_sfinae() 146 static_assert(!std::is_constructible<U, B*, D&>::value, ""); in test_sfinae_runtime() 157 static_assert(!std::is_constructible<U, A*, D&>::value, ""); in test_sfinae_runtime() 161 static_assert(!std::is_constructible<U, B*, D&>::value, ""); in test_sfinae_runtime() 170 static_assert(!std::is_constructible<U, A*, D&>::value, ""); in test_sfinae_runtime() [all …]
|
| H A D | move_convert.runtime.pass.cpp | 40 static_assert(std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 41 static_assert(!std::is_constructible<U1, U2&>::value, ""); in test_sfinae() 48 static_assert(std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 49 static_assert(!std::is_constructible<U2, U1&&>::value, ""); in test_sfinae() 54 static_assert(!std::is_constructible<UA, UB&&>::value, ""); in test_sfinae() 59 static_assert(!std::is_constructible<UA, UB&&>::value, ""); in test_sfinae() 64 static_assert(!std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 69 static_assert(!std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 70 static_assert(!std::is_constructible<U2, U1&&>::value, ""); in test_sfinae() 75 static_assert(!std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() [all …]
|
| H A D | pointer.pass.cpp | 121 static_assert(!std::is_constructible<U, T*>::value, ""); in test_sfinae() 129 static_assert(!std::is_constructible<U1, T*>::value, ""); in test_sfinae() 130 static_assert(!std::is_constructible<U2, T*>::value, ""); in test_sfinae() 131 static_assert(!std::is_constructible<U3, T*>::value, ""); in test_sfinae() 147 static_assert(!std::is_constructible<UA, B*>::value, ""); in test_sfinae_runtime() 148 static_assert(!std::is_constructible<UB, A*>::value, ""); in test_sfinae_runtime() 149 static_assert(!std::is_constructible<UAD, B*>::value, ""); in test_sfinae_runtime() 150 static_assert(!std::is_constructible<UBD, A*>::value, ""); in test_sfinae_runtime() 151 static_assert(!std::is_constructible<UAC, const B*>::value, ""); in test_sfinae_runtime() 152 static_assert(!std::is_constructible<UBC, const A*>::value, ""); in test_sfinae_runtime()
|
| H A D | move_convert.pass.cpp | 107 static_assert(std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 113 static_assert(!std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 122 static_assert(!std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 123 static_assert(!std::is_constructible<U1, U3&&>::value, ""); in test_sfinae() 124 static_assert(!std::is_constructible<U1, U4&&>::value, ""); in test_sfinae() 125 static_assert(!std::is_constructible<U1, U5&&>::value, ""); in test_sfinae() 139 static_assert(std::is_constructible<U1, U2&&>::value, ""); in test_sfinae() 140 static_assert(std::is_constructible<U1, U3&&>::value, ""); in test_sfinae() 141 static_assert(std::is_constructible<U1, U4&&>::value, ""); in test_sfinae() 142 static_assert(std::is_constructible<U1, U5&&>::value, ""); in test_sfinae() [all …]
|
| H A D | move_convert.single.pass.cpp | 102 static_assert(std::is_constructible<UA, UB&&>::value, ""); in test_sfinae() 103 static_assert(!std::is_constructible<UA, UB&>::value, ""); in test_sfinae() 107 static_assert(std::is_constructible<UAD, UBD&&>::value, ""); in test_sfinae() 108 static_assert(!std::is_constructible<UAD, UB&&>::value, ""); in test_sfinae() 109 static_assert(!std::is_constructible<UA, UBD&&>::value, ""); in test_sfinae() 114 static_assert(!std::is_constructible<UA1, UB1&&>::value, ""); in test_sfinae() 119 static_assert(!std::is_constructible<UA1, UB1&&>::value, ""); in test_sfinae() 125 static_assert(!std::is_constructible<UA1, UA2&&>::value, ""); in test_sfinae() 126 static_assert(!std::is_constructible<UA1, UB1&&>::value, ""); in test_sfinae() 132 static_assert(!std::is_constructible<UA1, UA2&&>::value, ""); in test_sfinae() [all …]
|
| H A D | nullptr.pass.cpp | 66 static_assert(!std::is_constructible<U, decltype(nullptr)>::value, ""); in test_sfinae() 74 static_assert(!std::is_constructible<U1, decltype(nullptr)>::value, ""); in test_sfinae() 75 static_assert(!std::is_constructible<U2, decltype(nullptr)>::value, ""); in test_sfinae() 76 static_assert(!std::is_constructible<U3, decltype(nullptr)>::value, ""); in test_sfinae()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
| H A D | conv.pass.cpp | 25 static_assert(!std::is_constructible<std::variant<int, int>, int>::value, ""); in main() 26 static_assert(!std::is_constructible<std::variant<long, long long>, int>::value, ""); in main() 27 …static_assert(std::is_constructible<std::variant<char>, int>::value == VariantAllowsNarrowingConve… in main() 29 …static_assert(std::is_constructible<std::variant<std::string, float>, int>::value == VariantAllows… in main() 31 static_assert(!std::is_constructible<std::variant<std::string, bool>, int>::value, ""); in main() 33 static_assert(!std::is_constructible<std::variant<int, bool>, decltype("meow")>::value, ""); in main() 34 static_assert(!std::is_constructible<std::variant<int, const bool>, decltype("meow")>::value, ""); in main() 35 …static_assert(!std::is_constructible<std::variant<int, const volatile bool>, decltype("meow")>::va… in main() 37 static_assert(!std::is_constructible<std::variant<bool>, std::true_type>::value, ""); in main() 38 static_assert(!std::is_constructible<std::variant<bool>, std::unique_ptr<char> >::value, ""); in main() [all …]
|
| H A D | T.pass.cpp | 60 static_assert(!std::is_constructible<V, int>::value, "ambiguous"); in test_T_ctor_sfinae() 68 static_assert(!std::is_constructible<V, int>::value, in test_T_ctor_sfinae() 78 static_assert(!std::is_constructible<V, std::unique_ptr<char>>::value, in test_T_ctor_sfinae() 83 static_assert(!std::is_constructible<V, X>::value, in test_T_ctor_sfinae() 85 static_assert(!std::is_constructible<V, std::false_type>::value, in test_T_ctor_sfinae() 94 static_assert(std::is_constructible<V, Y>::value, in test_T_ctor_sfinae() 111 static_assert(!std::is_constructible<V, int>::value, "ambiguous"); in test_T_ctor_sfinae() 115 static_assert(!std::is_constructible<V, int>::value, "ambiguous"); in test_T_ctor_sfinae() 197 static_assert(!std::is_constructible<V, int>::value, ""); in test_construction_with_repeated_types() 198 static_assert(!std::is_constructible<V, Baz>::value, ""); in test_construction_with_repeated_types() [all …]
|
| H A D | in_place_type_args.pass.cpp | 32 std::is_constructible<V, std::in_place_type_t<int>, int>::value, ""); in test_ctor_sfinae() 38 std::is_constructible<V, std::in_place_type_t<long>, int>::value, ""); in test_ctor_sfinae() 44 std::is_constructible<V, std::in_place_type_t<int *>, int *>::value, in test_ctor_sfinae() 52 !std::is_constructible<V, std::in_place_type_t<int>, int>::value, ""); in test_ctor_sfinae() 58 !std::is_constructible<V, std::in_place_type_t<int>, int *>::value, ""); in test_ctor_sfinae() 64 !std::is_constructible<V, std::in_place_type_t<long long>, int>::value, in test_ctor_sfinae()
|
| H A D | in_place_type_init_list_args.pass.cpp | 47 std::is_constructible<V, std::in_place_type_t<InitList>, IL>::value, in test_ctor_sfinae() 54 static_assert(!std::is_constructible<V, std::in_place_type_t<InitList>, IL, in test_ctor_sfinae() 63 !std::is_constructible<V, std::in_place_type_t<InitListArg>, IL>::value, in test_ctor_sfinae() 70 static_assert(std::is_constructible<V, std::in_place_type_t<InitListArg>, in test_ctor_sfinae() 79 !std::is_constructible<V, std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae() 84 static_assert(!std::is_constructible<V, std::in_place_type_t<InitListArg>, in test_ctor_sfinae()
|
| H A D | in_place_index_init_list_args.pass.cpp | 46 static_assert(std::is_constructible<V, std::in_place_index_t<0>, IL>::value, in test_ctor_sfinae() 53 !std::is_constructible<V, std::in_place_index_t<0>, IL, int>::value, in test_ctor_sfinae() 61 !std::is_constructible<V, std::in_place_index_t<1>, IL>::value, ""); in test_ctor_sfinae() 67 std::is_constructible<V, std::in_place_index_t<1>, IL, int>::value, ""); in test_ctor_sfinae() 74 !std::is_constructible<V, std::in_place_index_t<2>, IL>::value, ""); in test_ctor_sfinae() 80 !std::is_constructible<V, std::in_place_index_t<3>, IL>::value, ""); in test_ctor_sfinae()
|
| H A D | in_place_index_args.pass.cpp | 33 std::is_constructible<V, std::in_place_index_t<0>, int>::value, ""); in test_ctor_sfinae() 39 std::is_constructible<V, std::in_place_index_t<1>, int>::value, ""); in test_ctor_sfinae() 45 std::is_constructible<V, std::in_place_index_t<2>, int *>::value, ""); in test_ctor_sfinae() 51 !std::is_constructible<V, std::in_place_index_t<0>, int *>::value, ""); in test_ctor_sfinae() 57 !std::is_constructible<V, std::in_place_index_t<3>, int>::value, ""); in test_ctor_sfinae()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.task/futures.task.members/ |
| H A D | ctor2.compile.pass.cpp | 28 static_assert(!std::is_constructible<PT, std::allocator_arg_t, test_allocator<A>, VPT>::value, ""); 33 static_assert(!std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, const PA&>::value… 34 static_assert(!std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, const PA&&>::valu… 35 static_assert(!std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, volatile PA&>::va… 36 static_assert(!std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, volatile PA&&>::v… 38 static_assert( std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, const PI&>::value… 39 static_assert( std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, const PI&&>::valu… 40 static_assert( std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, volatile PI&>::va… 41 static_assert( std::is_constructible<PA, std::allocator_arg_t, std::allocator<A>, volatile PI&&>::v…
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| H A D | move.pass.cpp | 61 static_assert(!std::is_constructible<Tup, Tup&>::value, ""); in test_sfinae() 65 static_assert(std::is_constructible<Tup, Elem&&>::value, ""); in test_sfinae() 66 static_assert(!std::is_constructible<Tup, Elem const&>::value, ""); in test_sfinae() 67 static_assert(!std::is_constructible<Tup, Elem&>::value, ""); in test_sfinae() 71 static_assert(std::is_constructible<Tup, Tag, Alloc>::value, ""); in test_sfinae() 72 static_assert(std::is_constructible<Tup, Tag, Alloc, Tup&&>::value, ""); in test_sfinae() 73 static_assert(!std::is_constructible<Tup, Tag, Alloc, Tup const&>::value, ""); in test_sfinae() 74 static_assert(!std::is_constructible<Tup, Tag, Alloc, Tup &>::value, ""); in test_sfinae() 78 static_assert(std::is_constructible<Tup, Tag, Alloc, Elem&&>::value, ""); in test_sfinae() 79 static_assert(!std::is_constructible<Tup, Tag, Alloc, Elem const&>::value, ""); in test_sfinae() [all …]
|
| H A D | UTypes.pass.cpp | 46 static_assert(!std::is_constructible< in test_sfinae_missing_elements() 51 static_assert(std::is_constructible< in test_sfinae_missing_elements() 59 static_assert(!std::is_constructible< in test_sfinae_missing_elements() 64 static_assert(std::is_constructible< in test_sfinae_missing_elements() 74 static_assert(!std::is_constructible< in test_sfinae_missing_elements() 79 static_assert(std::is_constructible< in test_sfinae_missing_elements()
|
| H A D | PR23256_constrain_UTypes_ctor.pass.cpp | 74 static_assert(std::is_constructible< in main() 79 static_assert(std::is_constructible< in main() 84 static_assert(std::is_constructible< in main() 89 static_assert(std::is_constructible< in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/any/any.class/any.cons/ |
| H A D | in_place_type.pass.cpp | 139 static_assert(!std::is_constructible<std::any, in test_ctor_sfinae() 141 static_assert(std::is_constructible<std::any, in test_ctor_sfinae() 156 static_assert(!std::is_constructible<std::any, Tag>::value, ""); in test_ctor_sfinae() 157 static_assert(!std::is_constructible<std::any, Tag, int>::value, ""); in test_ctor_sfinae() 158 static_assert(!std::is_constructible<std::any, Tag, IL, int>::value, ""); in test_ctor_sfinae() 159 static_assert(!std::is_constructible<std::any, RefTag>::value, ""); in test_ctor_sfinae() 160 static_assert(!std::is_constructible<std::any, RefTag, int>::value, ""); in test_ctor_sfinae() 161 static_assert(!std::is_constructible<std::any, RefTag, IL, int>::value, ""); in test_ctor_sfinae() 175 static_assert(std::is_constructible<std::any, IT, int>::value, ""); in test_constructor_explicit() 177 static_assert(std::is_constructible<std::any, IT, int, int, int>::value, ""); in test_constructor_explicit() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/ |
| H A D | is_constructible.pass.cpp | 71 static_assert( (std::is_constructible<T>::value), ""); in test_is_constructible() 80 static_assert(( std::is_constructible<T, A0>::value), ""); in test_is_constructible() 89 static_assert(( std::is_constructible<T, A0, A1>::value), ""); in test_is_constructible() 98 static_assert(( std::is_constructible<T, A0, A1, A2>::value), ""); in test_is_constructible() 107 static_assert((!std::is_constructible<T>::value), ""); in test_is_not_constructible() 116 static_assert((!std::is_constructible<T, A0>::value), ""); in test_is_not_constructible() 235 static_assert(std::is_constructible<int&&, ExplicitTo<int&&>>::value, ""); in main() 240 static_assert(std::is_constructible<int&&, ExplicitTo<int>>::value, ""); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
| H A D | default-sfinae.pass.cpp | 68 static_assert(std::is_constructible<P, int, Tp>::value, ""); in test_not_is_default_constructible() 73 static_assert(std::is_constructible<P, Tp, int>::value, ""); in test_not_is_default_constructible() 78 static_assert(std::is_constructible<P, Tp, Tp>::value, ""); in test_not_is_default_constructible() 122 static_assert((std::is_constructible<P, IllFormedDefault, int>::value), ""); in test_illformed_default() 128 static_assert((std::is_constructible<P, int, IllFormedDefault>::value), ""); in test_illformed_default() 135 static_assert((std::is_constructible<P, IllFormedDefault, IllFormedDefault>::value), ""); in test_illformed_default()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/ |
| H A D | source.pass.cpp | 99 static_assert(std::is_constructible<path, It>::value, ""); in test_sfinae() 103 static_assert(std::is_constructible<path, It>::value, ""); in test_sfinae() 114 static_assert(std::is_constructible<path, It>::value, ""); in test_sfinae() 118 static_assert(!std::is_constructible<path, It>::value, ""); in test_sfinae() 122 static_assert(!std::is_constructible<path, int*>::value, ""); in test_sfinae()
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.const/ |
| H A D | iter.pass.cpp | 27 static_assert( std::is_constructible<std::move_iterator<It>, const It&>::value, ""); in test() 28 static_assert( std::is_constructible<std::move_iterator<It>, It&&>::value, ""); in test() 49 static_assert(!std::is_constructible<std::move_iterator<It>, const It&>::value, ""); in test_moveonly() 50 static_assert( std::is_constructible<std::move_iterator<It>, It&&>::value, ""); in test_moveonly()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
| H A D | F.pass.cpp | 112 static_assert(std::is_constructible<Fn, LValueCallable&>::value, ""); in main() 113 static_assert(std::is_constructible<Fn, LValueCallable>::value, ""); in main() 114 static_assert(!std::is_constructible<Fn, RValueCallable&>::value, ""); in main() 115 static_assert(!std::is_constructible<Fn, RValueCallable>::value, ""); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/refwrap/refwrap.const/ |
| H A D | type_ctor.pass.cpp | 49 static_assert((std::is_constructible<Ref, int&>::value), ""); in main() 50 static_assert((!std::is_constructible<Ref, int>::value), ""); in main() 51 static_assert((!std::is_constructible<Ref, int&&>::value), ""); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
| H A D | initializer_list.pass.cpp | 72 static_assert(!std::is_constructible<X, std::initializer_list<int>&>::value, ""); in main() 73 static_assert(!std::is_constructible<optional<X>, std::initializer_list<int>&>::value, ""); in main() 88 static_assert(std::is_constructible<optional<Y>, std::initializer_list<int>&>::value, ""); in main() 103 static_assert(std::is_constructible<optional<Z>, std::initializer_list<int>&>::value, ""); in main()
|