Home
last modified time | relevance | path

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

/llvm-project/libcxx/test/std/concepts/concepts.lang/concept.swappable/
H A Dswappable_with.compile.pass.cpp39 constexpr bool check_swappable_with() { in check_swappable_with() function
155 constexpr auto result = check_swappable_with<T, U>(); in check_swappable_with_including_lvalue_ref_to_volatile()
248 check_swappable_with<lvalue_adl_swappable, lvalue_adl_swappable>());
249 static_assert(check_swappable_with<lvalue_rvalue_adl_swappable,
251 static_assert(check_swappable_with<rvalue_lvalue_adl_swappable,
263 static_assert(!check_swappable_with<s1, no_common_reference_with_s1>());
270 static_assert(!check_swappable_with<one_way_swappable_with_s1, s1>());
278 static_assert(!check_swappable_with<one_way_swappable_with_s1_other_way, s1>());
292 !check_swappable_with<can_swap_with_s1_but_not_swappable&, s1&>());
299 static_assert(check_swappable_with<swappable_with_s1, s1>());
[all …]