Home
last modified time | relevance | path

Searched refs:has_emplace (Results 1 – 1 of 1) 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 …]