Searched refs:can_swap (Results 1 – 3 of 3) sorted by relevance
/external/libcxx/test/std/utilities/utility/utility.swap/ |
D | swap.pass.cpp | 61 constexpr bool can_swap() { in can_swap() function 88 static_assert(can_swap<CopyOnly&>(), ""); in main() 89 static_assert(can_swap<MoveOnly&>(), ""); in main() 90 static_assert(can_swap<NoexceptMoveOnly&>(), ""); in main() 92 static_assert(!can_swap<NotMoveConstructible&>(), ""); in main() 93 static_assert(!can_swap<NotMoveAssignable&>(), ""); in main()
|
D | swap_array.pass.cpp | 52 constexpr bool can_swap() { in can_swap() function 91 static_assert(can_swap<CA&>(), ""); in main() 92 static_assert(can_swap<MA&>(), ""); in main() 93 static_assert(!can_swap<NA&>(), ""); in main()
|
/external/libcxx/test/std/containers/sequences/array/array.special/ |
D | swap.pass.cpp | 37 struct can_swap : std::is_same<decltype(can_swap_imp<Tp>(0)), void> {}; struct 68 static_assert(can_swap<C0&>::value, ""); in main() 82 static_assert(!can_swap<C1&>::value, ""); in main()
|