Searched refs:has_emplace_init_list (Results 1 – 1 of 1) sorted by relevance
/external/libcxx/test/std/utilities/any/any.class/any.modifiers/ |
D | emplace.pass.cpp | 227 constexpr auto has_emplace_init_list(int) in has_emplace_init_list() function 233 constexpr bool has_emplace_init_list(long) { return false; } in has_emplace_init_list() function 236 constexpr bool has_emplace_init_list() { return has_emplace_init_list<Args...>(0); } in has_emplace_init_list() function 244 static_assert(!has_emplace_init_list<int, int>(), "not constructible from il"); in test_emplace_sfinae_constraints() 252 static_assert(has_emplace_init_list<small, int>(), ""); in test_emplace_sfinae_constraints() 253 static_assert(has_emplace_init_list<large, int>(), ""); in test_emplace_sfinae_constraints() 254 static_assert(!has_emplace_init_list<small, void*>(), ""); in test_emplace_sfinae_constraints() 255 static_assert(!has_emplace_init_list<large, void*>(), ""); in test_emplace_sfinae_constraints() 268 static_assert(!has_emplace_init_list<NoCopy, int, int, int>(), ""); in test_emplace_sfinae_constraints() 271 static_assert(!has_emplace_init_list<NoCopy&, int, int, int>(), ""); in test_emplace_sfinae_constraints() [all …]
|