Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/utility/utility.swap/
Dswap.pass.cpp61 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()
Dswap_array.pass.cpp52 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/llvm-project/libcxx/test/std/utilities/utility/utility.swap/
Dswap.pass.cpp60 constexpr bool can_swap() { in can_swap() function
97 static_assert(can_swap<CopyOnly&>(), ""); in main()
98 static_assert(can_swap<MoveOnly&>(), ""); in main()
99 static_assert(can_swap<NoexceptMoveOnly&>(), ""); in main()
101 static_assert(!can_swap<NotMoveConstructible&>(), ""); in main()
102 static_assert(!can_swap<NotMoveAssignable&>(), ""); in main()
Dswap_array.pass.cpp51 constexpr bool can_swap() { in can_swap() function
104 static_assert(can_swap<CA&>(), ""); in main()
105 static_assert(can_swap<MA&>(), ""); in main()
106 static_assert(!can_swap<NA&>(), ""); in main()
/external/libcxx/test/std/containers/sequences/array/array.special/
Dswap.pass.cpp37 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()
/external/llvm-project/libcxx/test/std/containers/sequences/array/array.special/
Dswap.pass.cpp36 struct can_swap : std::is_same<decltype(can_swap_imp<Tp>(0)), void> { }; struct
67 static_assert(can_swap<C0&>::value, ""); in tests()
81 static_assert(!can_swap<C1&>::value, ""); in tests()
/external/igt-gpu-tools/tests/i915/
Dgem_userptr_blits.c1460 static int can_swap(void) in can_swap() function
1511 igt_skip_on_f(!can_swap(), in test_swapping_evictions()