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 | 197 constexpr auto has_emplace_init_list(int) in has_emplace_init_list() function 203 constexpr bool has_emplace_init_list(long) { return false; } in has_emplace_init_list() function 206 constexpr bool has_emplace_init_list() { return has_emplace_init_list<Args...>(0); } in has_emplace_init_list() function 214 static_assert(!has_emplace_init_list<int, int>(), "not constructible from il"); in test_emplace_sfinae_constraints() 222 static_assert(has_emplace_init_list<small, int>(), ""); in test_emplace_sfinae_constraints() 223 static_assert(has_emplace_init_list<large, int>(), ""); in test_emplace_sfinae_constraints() 224 static_assert(!has_emplace_init_list<small, void*>(), ""); in test_emplace_sfinae_constraints() 225 static_assert(!has_emplace_init_list<large, void*>(), ""); in test_emplace_sfinae_constraints() 238 static_assert(!has_emplace_init_list<NoCopy, int, int, int>(), ""); in test_emplace_sfinae_constraints() 241 static_assert(!has_emplace_init_list<NoCopy&, int, int, int>(), ""); in test_emplace_sfinae_constraints() [all …]
|