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.cpp186 constexpr auto has_emplace(int) in has_emplace() function
190 constexpr bool has_emplace(long) { return false; } in has_emplace() function
193 constexpr bool has_emplace() { return has_emplace<Args...>(0); } in has_emplace() function
211 static_assert(has_emplace<int>(), ""); in test_emplace_sfinae_constraints()
212 static_assert(has_emplace<int, int>(), ""); in test_emplace_sfinae_constraints()
213 static_assert(!has_emplace<int, int, int>(), "not constructible"); in test_emplace_sfinae_constraints()
217 static_assert(has_emplace<small>(), ""); in test_emplace_sfinae_constraints()
218 static_assert(has_emplace<large>(), ""); in test_emplace_sfinae_constraints()
219 static_assert(!has_emplace<small, void*>(), ""); in test_emplace_sfinae_constraints()
220 static_assert(!has_emplace<large, void*>(), ""); in test_emplace_sfinae_constraints()
[all …]