Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/support/
H A Dalmost_satisfies_types.h252 class NotSwappable {
253 NotSwappable(NotSwappable&&) = delete;
257 using value_type = NotSwappable;
262 NotSwappable& operator*() const;
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
H A Dswap.pass.cpp29 struct NotSwappable {}; struct
30 void swap(NotSwappable &, NotSwappable &) = delete;
492 using V = std::variant<int, NotSwappable>; in test_swap_sfinae()
572 using V = std::variant<int, NotSwappable>; in test_swap_noexcept()
583 template class std::variant<int, NotSwappable>;