Home
last modified time | relevance | path

Searched refs:has_emplace_init_list (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/utilities/any/any.class/any.modifiers/
Demplace.pass.cpp227 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 …]
/external/llvm-project/libcxx/test/std/utilities/any/any.class/any.modifiers/
Demplace.pass.cpp224 constexpr auto has_emplace_init_list(int) in has_emplace_init_list() function
230 constexpr bool has_emplace_init_list(long) { return false; } in has_emplace_init_list() function
233 constexpr bool has_emplace_init_list() { return has_emplace_init_list<Args...>(0); } in has_emplace_init_list() function
241 static_assert(!has_emplace_init_list<int, int>(), "not constructible from il"); in test_emplace_sfinae_constraints()
249 static_assert(has_emplace_init_list<small, int>(), ""); in test_emplace_sfinae_constraints()
250 static_assert(has_emplace_init_list<large, int>(), ""); in test_emplace_sfinae_constraints()
251 static_assert(!has_emplace_init_list<small, void*>(), ""); in test_emplace_sfinae_constraints()
252 static_assert(!has_emplace_init_list<large, void*>(), ""); in test_emplace_sfinae_constraints()
265 static_assert(!has_emplace_init_list<NoCopy, int, int, int>(), ""); in test_emplace_sfinae_constraints()
268 static_assert(!has_emplace_init_list<NoCopy&, int, int, int>(), ""); in test_emplace_sfinae_constraints()
[all …]