/external/libcxx/test/support/test.support/ |
D | test_convertible_header.pass.cpp | 19 static_assert(test_convertible<ImplicitDefault>(), "Must be convertible"); 24 static_assert(!test_convertible<ExplicitDefault>(), "Must not be convertible"); 29 static_assert(test_convertible<ImplicitInt, int>(), "Must be convertible"); 34 static_assert(!test_convertible<ExplicitInt, int>(), "Must not be convertible"); 39 static_assert(test_convertible<ImplicitCopy, ImplicitCopy>(), "Must be convertible"); 44 static_assert(!test_convertible<ExplicitCopy, ExplicitCopy>(), "Must not be convertible"); 49 static_assert(test_convertible<ImplicitMove, ImplicitMove>(), "Must be convertible"); 54 static_assert(!test_convertible<ExplicitMove, ExplicitMove>(), "Must not be convertible"); 59 static_assert(test_convertible<ImplicitArgs, int, int, int>(), "Must be convertible"); 64 static_assert(!test_convertible<ExplicitArgs, int, int, int>(), "Must not be convertible");
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
D | U.pass.cpp | 56 static_assert(test_convertible<O, From>(), ""); in implicit_conversion() 57 static_assert(!test_convertible<O, void*>(), ""); in implicit_conversion() 58 static_assert(!test_convertible<O, From, int>(), ""); in implicit_conversion() 97 static_assert(!test_convertible<O, std::in_place_t>(), ""); in test_implicit() 98 static_assert(!test_convertible<O, std::in_place_t&>(), ""); in test_implicit() 99 static_assert(!test_convertible<O, const std::in_place_t&>(), ""); in test_implicit() 100 static_assert(!test_convertible<O, std::in_place_t&&>(), ""); in test_implicit() 101 static_assert(!test_convertible<O, const std::in_place_t&&>(), ""); in test_implicit()
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | enable_reduced_arity_initialization_extension.pass.cpp | 47 static_assert(test_convertible<Tuple, MO, ND>(), ""); in test_default_constructible_extension_sfinae() 53 static_assert(test_convertible<Tuple, MO, MO, ND>(), ""); in test_default_constructible_extension_sfinae() 71 static_assert(test_convertible< in test_default_constructible_extension_sfinae() 76 static_assert(test_convertible< in test_default_constructible_extension_sfinae() 99 static_assert(test_convertible<Tup, E, E, E>(), ""); in main() 102 static_assert(test_convertible<Tup, E, E>(), ""); in main() 108 static_assert(test_convertible<Tup, E>(), ""); in main()
|
D | disable_reduced_arity_initialization_extension.pass.cpp | 48 static_assert(test_convertible<Tuple, MO, ND>(), ""); in test_default_constructible_extension_sfinae() 54 static_assert(test_convertible<Tuple, MO, MO, ND>(), ""); in test_default_constructible_extension_sfinae() 88 static_assert(test_convertible<Tup, E, E, E>(), ""); in main() 92 static_assert(!test_convertible<Tup, E, E>(), ""); in main() 99 static_assert(!test_convertible<Tup, E>(), ""); in main()
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
D | in_place_type_args.pass.cpp | 40 static_assert(!test_convertible<V, std::in_place_type_t<int>, int>(), ""); in test_ctor_sfinae() 46 static_assert(!test_convertible<V, std::in_place_type_t<long>, int>(), ""); in test_ctor_sfinae() 53 static_assert(!test_convertible<V, std::in_place_type_t<int *>, int *>(), in test_ctor_sfinae() 60 static_assert(!test_convertible<V, std::in_place_type_t<int>, int>(), ""); in test_ctor_sfinae() 66 static_assert(!test_convertible<V, std::in_place_type_t<int>, int *>(), ""); in test_ctor_sfinae() 73 static_assert(!test_convertible<V, std::in_place_type_t<long long>, int>(), in test_ctor_sfinae()
|
D | in_place_type_init_list_args.pass.cpp | 56 static_assert(!test_convertible<V, std::in_place_type_t<InitList>, IL>(), in test_ctor_sfinae() 65 !test_convertible<V, std::in_place_type_t<InitList>, IL, int>(), ""); in test_ctor_sfinae() 72 static_assert(!test_convertible<V, std::in_place_type_t<InitListArg>, IL>(), in test_ctor_sfinae() 81 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), ""); in test_ctor_sfinae() 87 static_assert(!test_convertible<V, std::in_place_type_t<int>, IL>(), ""); in test_ctor_sfinae() 95 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), ""); in test_ctor_sfinae()
|
D | in_place_index_init_list_args.pass.cpp | 55 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL>(), ""); in test_ctor_sfinae() 62 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL, int>(), in test_ctor_sfinae() 69 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL>(), ""); in test_ctor_sfinae() 75 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL, int>(), in test_ctor_sfinae() 82 static_assert(!test_convertible<V, std::in_place_index_t<2>, IL>(), ""); in test_ctor_sfinae() 88 static_assert(!test_convertible<V, std::in_place_index_t<3>, IL>(), ""); in test_ctor_sfinae()
|
D | in_place_index_args.pass.cpp | 41 static_assert(!test_convertible<V, std::in_place_index_t<0>, int>(), ""); in test_ctor_sfinae() 47 static_assert(!test_convertible<V, std::in_place_index_t<1>, int>(), ""); in test_ctor_sfinae() 53 static_assert(!test_convertible<V, std::in_place_index_t<2>, int *>(), ""); in test_ctor_sfinae() 59 static_assert(!test_convertible<V, std::in_place_index_t<0>, int *>(), ""); in test_ctor_sfinae() 65 static_assert(!test_convertible<V, std::in_place_index_t<3>, int>(), ""); in test_ctor_sfinae()
|
/external/libcxx/test/std/input.output/filesystems/class.file_status/ |
D | file_status.cons.pass.cpp | 32 static_assert(test_convertible<file_status>(), in main() 43 static_assert(!test_convertible<file_status, file_type>(), in main() 54 static_assert(!test_convertible<file_status, file_type, perms>(), in main()
|
/external/libcxx/test/support/ |
D | test_convertible.hpp | 23 #error test_convertible.hpp requires C++11 or newer 39 constexpr bool test_convertible() in test_convertible() function
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | UTypes.pass.cpp | 132 static_assert(test_convertible<Tup, E, E, E>(), ""); in main() 135 static_assert(!test_convertible<Tup, E, E>(), ""); in main() 141 static_assert(!test_convertible<Tup, E>(), ""); in main()
|
/external/libcxx/test/std/utilities/any/any.class/any.cons/ |
D | in_place_type.pass.cpp | 183 static_assert(!test_convertible<std::any, IT, int>(), ""); in test_constructor_explicit() 185 static_assert(!test_convertible<std::any, IT, int, int, int>(), ""); in test_constructor_explicit() 187 static_assert(!test_convertible<std::any, IT, std::initializer_list<int>&, int>(), ""); in test_constructor_explicit()
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | const_first_const_second.pass.cpp | 45 static_assert(test_convertible<P1, T1Arg, T2>() == CanConvert, ""); in test_sfinae() 47 static_assert(test_convertible<P2, T2, T1Arg>() == CanConvert, ""); in test_sfinae()
|
D | U_V.pass.cpp | 34 static_assert(test_convertible<P1, T1Arg, T2>() == CanConvert, ""); in test_sfinae() 36 static_assert(test_convertible<P2, T2, T1Arg>() == CanConvert, ""); in test_sfinae()
|
D | rv_pair_U_V.pass.cpp | 35 static_assert(test_convertible<P1, UP1>() == CanConvert, ""); in test_pair_rv() 37 static_assert(test_convertible<P2, UP2>() == CanConvert, ""); in test_pair_rv()
|
D | const_pair_U_V.pass.cpp | 34 static_assert(test_convertible<P1, UP1>() == CanConvert, ""); in test_pair_const() 36 static_assert(test_convertible<P2, UP2>() == CanConvert, ""); in test_pair_const()
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/ |
D | path.pass.cpp | 59 test_convertible<directory_entry, const path&, std::error_code&>(), in TEST_CASE()
|