/external/libcxx/test/support/test.support/ |
test_convertible_header.pass.cpp | 12 // "support/test_convertible.hpp" 14 #include "test_convertible.hpp" 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") [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/test.support/ |
test_convertible_header.pass.cpp | 12 // "support/test_convertible.hpp" 14 #include "test_convertible.hpp" 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") [all...] |
/external/libcxx/test/support/ |
test_convertible.hpp | 13 // "test_convertible<Tp, Args...>()" is a metafunction used to check if 'Tp' 23 #error test_convertible.hpp requires C++11 or newer 39 constexpr bool test_convertible() function
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
test_convertible.hpp | 13 // "test_convertible<Tp, Args...>()" is a metafunction used to check if 'Tp' 23 #error test_convertible.hpp requires C++11 or newer 39 constexpr bool test_convertible() function
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
U.pass.cpp | 30 #include "test_convertible.hpp" 55 static_assert(test_convertible<O, From>(), ""); 56 static_assert(!test_convertible<O, void*>(), ""); 57 static_assert(!test_convertible<O, From, int>(), ""); 96 static_assert(!test_convertible<O, std::in_place_t>(), ""); 97 static_assert(!test_convertible<O, std::in_place_t&>(), ""); 98 static_assert(!test_convertible<O, const std::in_place_t&>(), ""); 99 static_assert(!test_convertible<O, std::in_place_t&&>(), ""); 100 static_assert(!test_convertible<O, const std::in_place_t&&>(), "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.object/optional.object.ctor/ |
U.pass.cpp | 30 #include "test_convertible.hpp" 55 static_assert(test_convertible<O, From>(), ""); 56 static_assert(!test_convertible<O, void*>(), ""); 57 static_assert(!test_convertible<O, From, int>(), ""); 96 static_assert(!test_convertible<O, std::in_place_t>(), ""); 97 static_assert(!test_convertible<O, std::in_place_t&>(), ""); 98 static_assert(!test_convertible<O, const std::in_place_t&>(), ""); 99 static_assert(!test_convertible<O, std::in_place_t&&>(), ""); 100 static_assert(!test_convertible<O, const std::in_place_t&&>(), "");
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
enable_reduced_arity_initialization_extension.pass.cpp | 28 #include "test_convertible.hpp" 47 static_assert(test_convertible<Tuple, MO, ND>(), ""); 53 static_assert(test_convertible<Tuple, MO, MO, ND>(), ""); 71 static_assert(test_convertible< 76 static_assert(test_convertible< 99 static_assert(test_convertible<Tup, E, E, E>(), ""); 102 static_assert(test_convertible<Tup, E, E>(), ""); 108 static_assert(test_convertible<Tup, E>(), "");
|
disable_reduced_arity_initialization_extension.pass.cpp | 26 #include "test_convertible.hpp" 48 static_assert(test_convertible<Tuple, MO, ND>(), ""); 54 static_assert(test_convertible<Tuple, MO, MO, ND>(), ""); 88 static_assert(test_convertible<Tup, E, E, E>(), ""); 92 static_assert(!test_convertible<Tup, E, E>(), ""); 99 static_assert(!test_convertible<Tup, E>(), "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
enable_reduced_arity_initialization_extension.pass.cpp | 28 #include "test_convertible.hpp" 47 static_assert(test_convertible<Tuple, MO, ND>(), ""); 53 static_assert(test_convertible<Tuple, MO, MO, ND>(), ""); 71 static_assert(test_convertible< 76 static_assert(test_convertible< 99 static_assert(test_convertible<Tup, E, E, E>(), ""); 102 static_assert(test_convertible<Tup, E, E>(), ""); 108 static_assert(test_convertible<Tup, E>(), "");
|
disable_reduced_arity_initialization_extension.pass.cpp | 26 #include "test_convertible.hpp" 48 static_assert(test_convertible<Tuple, MO, ND>(), ""); 54 static_assert(test_convertible<Tuple, MO, MO, ND>(), ""); 88 static_assert(test_convertible<Tup, E, E, E>(), ""); 92 static_assert(!test_convertible<Tup, E, E>(), ""); 99 static_assert(!test_convertible<Tup, E>(), "");
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
in_place_type_args.pass.cpp | 31 #include "test_convertible.hpp" 39 static_assert(!test_convertible<V, std::in_place_type_t<int>, int>(), ""); 45 static_assert(!test_convertible<V, std::in_place_type_t<long>, int>(), ""); 52 static_assert(!test_convertible<V, std::in_place_type_t<int *>, int *>(), 59 static_assert(!test_convertible<V, std::in_place_type_t<int>, int>(), ""); 65 static_assert(!test_convertible<V, std::in_place_type_t<int>, int *>(), ""); 72 static_assert(!test_convertible<V, std::in_place_type_t<long long>, int>(),
|
in_place_type_init_list_args.pass.cpp | 26 #include "test_convertible.hpp" 48 static_assert(!test_convertible<V, std::in_place_type_t<InitList>, IL>(), 57 !test_convertible<V, std::in_place_type_t<InitList>, IL, int>(), ""); 64 static_assert(!test_convertible<V, std::in_place_type_t<InitListArg>, IL>(), 73 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), ""); 79 static_assert(!test_convertible<V, std::in_place_type_t<int>, IL>(), ""); 87 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), "");
|
in_place_index_args.pass.cpp | 32 #include "test_convertible.hpp" 40 static_assert(!test_convertible<V, std::in_place_index_t<0>, int>(), ""); 46 static_assert(!test_convertible<V, std::in_place_index_t<1>, int>(), ""); 52 static_assert(!test_convertible<V, std::in_place_index_t<2>, int *>(), ""); 58 static_assert(!test_convertible<V, std::in_place_index_t<0>, int *>(), ""); 64 static_assert(!test_convertible<V, std::in_place_index_t<3>, int>(), "");
|
in_place_index_init_list_args.pass.cpp | 26 #include "test_convertible.hpp" 47 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL>(), ""); 54 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL, int>(), 61 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL>(), ""); 67 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL, int>(), 74 static_assert(!test_convertible<V, std::in_place_index_t<2>, IL>(), "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/variant/variant.variant/variant.ctor/ |
in_place_type_args.pass.cpp | 31 #include "test_convertible.hpp" 39 static_assert(!test_convertible<V, std::in_place_type_t<int>, int>(), ""); 45 static_assert(!test_convertible<V, std::in_place_type_t<long>, int>(), ""); 52 static_assert(!test_convertible<V, std::in_place_type_t<int *>, int *>(), 59 static_assert(!test_convertible<V, std::in_place_type_t<int>, int>(), ""); 65 static_assert(!test_convertible<V, std::in_place_type_t<int>, int *>(), ""); 72 static_assert(!test_convertible<V, std::in_place_type_t<long long>, int>(),
|
in_place_type_init_list_args.pass.cpp | 26 #include "test_convertible.hpp" 48 static_assert(!test_convertible<V, std::in_place_type_t<InitList>, IL>(), 57 !test_convertible<V, std::in_place_type_t<InitList>, IL, int>(), ""); 64 static_assert(!test_convertible<V, std::in_place_type_t<InitListArg>, IL>(), 73 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), ""); 79 static_assert(!test_convertible<V, std::in_place_type_t<int>, IL>(), ""); 87 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), "");
|
in_place_index_args.pass.cpp | 32 #include "test_convertible.hpp" 40 static_assert(!test_convertible<V, std::in_place_index_t<0>, int>(), ""); 46 static_assert(!test_convertible<V, std::in_place_index_t<1>, int>(), ""); 52 static_assert(!test_convertible<V, std::in_place_index_t<2>, int *>(), ""); 58 static_assert(!test_convertible<V, std::in_place_index_t<0>, int *>(), ""); 64 static_assert(!test_convertible<V, std::in_place_index_t<3>, int>(), "");
|
in_place_index_init_list_args.pass.cpp | 26 #include "test_convertible.hpp" 47 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL>(), ""); 54 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL, int>(), 61 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL>(), ""); 67 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL, int>(), 74 static_assert(!test_convertible<V, std::in_place_index_t<2>, IL>(), "");
|
/external/libcxx/test/std/experimental/filesystem/class.file_status/ |
file_status.cons.pass.cpp | 23 #include "test_convertible.hpp" 33 static_assert(test_convertible<file_status>(), 44 static_assert(!test_convertible<file_status, file_type>(), 55 static_assert(!test_convertible<file_status, file_type, perms>(),
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.file_status/ |
file_status.cons.pass.cpp | 23 #include "test_convertible.hpp" 33 static_assert(test_convertible<file_status>(), 44 static_assert(!test_convertible<file_status, file_type>(), 55 static_assert(!test_convertible<file_status, file_type, perms>(),
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
UTypes.pass.cpp | 24 #include "test_convertible.hpp" 132 static_assert(test_convertible<Tup, E, E, E>(), ""); 135 static_assert(!test_convertible<Tup, E, E>(), ""); 141 static_assert(!test_convertible<Tup, E>(), "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
UTypes.pass.cpp | 24 #include "test_convertible.hpp" 132 static_assert(test_convertible<Tup, E, E, E>(), ""); 135 static_assert(!test_convertible<Tup, E, E>(), ""); 141 static_assert(!test_convertible<Tup, E>(), "");
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
U_V.pass.cpp | 24 #include "test_convertible.hpp" 34 static_assert(test_convertible<P1, T1Arg, T2>() == CanConvert, ""); 36 static_assert(test_convertible<P2, T2, T1Arg>() == CanConvert, "");
|
const_first_const_second.pass.cpp | 22 #include "test_convertible.hpp" 45 static_assert(test_convertible<P1, T1Arg, T2>() == CanConvert, ""); 47 static_assert(test_convertible<P2, T2, T1Arg>() == CanConvert, "");
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/utility/pairs/pairs.pair/ |
U_V.pass.cpp | 24 #include "test_convertible.hpp" 34 static_assert(test_convertible<P1, T1Arg, T2>() == CanConvert, ""); 36 static_assert(test_convertible<P2, T2, T1Arg>() == CanConvert, "");
|