Searched refs:IllFormedDefault (Results 1 – 2 of 2) sorted by relevance
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | default-sfinae.pass.cpp | 107 typedef IllFormedDefaultImp<int> IllFormedDefault; typedef 122 typedef std::pair<IllFormedDefault, int> P; in test_illformed_default() 123 static_assert((std::is_constructible<P, IllFormedDefault, int>::value), ""); in test_illformed_default() 124 CONSTEXPR_CXX14 P p(IllFormedDefault(42), -5); in test_illformed_default() 128 typedef std::pair<int, IllFormedDefault> P; in test_illformed_default() 129 static_assert((std::is_constructible<P, int, IllFormedDefault>::value), ""); in test_illformed_default() 130 CONSTEXPR_CXX14 IllFormedDefault dd(-5); in test_illformed_default() 135 typedef std::pair<IllFormedDefault, IllFormedDefault> P; in test_illformed_default() 136 static_assert((std::is_constructible<P, IllFormedDefault, IllFormedDefault>::value), ""); in test_illformed_default() 137 CONSTEXPR_CXX14 P p(IllFormedDefault(42), IllFormedDefault(-5)); in test_illformed_default()
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | default.pass.cpp | 38 struct IllFormedDefault { struct 39 IllFormedDefault(int x) : value(x) {} in IllFormedDefault() argument 41 constexpr IllFormedDefault() { in IllFormedDefault() function 107 IllFormedDefault v(0); in main() 108 std::tuple<IllFormedDefault> t(v); in main()
|