Home
last modified time | relevance | path

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

/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
H A Dswap.pass.cpp36 struct NotCopyableWithSwap { struct
37 NotCopyableWithSwap() = default;
38 NotCopyableWithSwap(const NotCopyableWithSwap&) = delete;
39 NotCopyableWithSwap& operator=(const NotCopyableWithSwap&) = delete;
41 constexpr void swap(NotCopyableWithSwap&, NotCopyableWithSwap) {} in swap() argument
508 using V = std::variant<int, NotCopyableWithSwap>; in test_swap_sfinae()