Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/any/any.class/any.modifiers/
Demplace.pass.cpp216 constexpr auto has_emplace(int) in has_emplace() function
220 constexpr bool has_emplace(long) { return false; } in has_emplace() function
223 constexpr bool has_emplace() { return has_emplace<Args...>(0); } in has_emplace() function
241 static_assert(has_emplace<int>(), ""); in test_emplace_sfinae_constraints()
242 static_assert(has_emplace<int, int>(), ""); in test_emplace_sfinae_constraints()
243 static_assert(!has_emplace<int, int, int>(), "not constructible"); in test_emplace_sfinae_constraints()
247 static_assert(has_emplace<small>(), ""); in test_emplace_sfinae_constraints()
248 static_assert(has_emplace<large>(), ""); in test_emplace_sfinae_constraints()
249 static_assert(!has_emplace<small, void*>(), ""); in test_emplace_sfinae_constraints()
250 static_assert(!has_emplace<large, void*>(), ""); in test_emplace_sfinae_constraints()
[all …]
/external/llvm-project/libcxx/test/std/utilities/any/any.class/any.modifiers/
Demplace.pass.cpp213 constexpr auto has_emplace(int) in has_emplace() function
217 constexpr bool has_emplace(long) { return false; } in has_emplace() function
220 constexpr bool has_emplace() { return has_emplace<Args...>(0); } in has_emplace() function
238 static_assert(has_emplace<int>(), ""); in test_emplace_sfinae_constraints()
239 static_assert(has_emplace<int, int>(), ""); in test_emplace_sfinae_constraints()
240 static_assert(!has_emplace<int, int, int>(), "not constructible"); in test_emplace_sfinae_constraints()
244 static_assert(has_emplace<small>(), ""); in test_emplace_sfinae_constraints()
245 static_assert(has_emplace<large>(), ""); in test_emplace_sfinae_constraints()
246 static_assert(!has_emplace<small, void*>(), ""); in test_emplace_sfinae_constraints()
247 static_assert(!has_emplace<large, void*>(), ""); in test_emplace_sfinae_constraints()
[all …]