Searched refs:NotCopyableWithSwap (Results 1 – 2 of 2) sorted by relevance
36 struct NotCopyableWithSwap { struct37 NotCopyableWithSwap() = default;38 NotCopyableWithSwap(const NotCopyableWithSwap &) = delete;39 NotCopyableWithSwap &operator=(const NotCopyableWithSwap &) = delete;41 void swap(NotCopyableWithSwap &, NotCopyableWithSwap) {} in swap() argument500 using V = std::variant<int, NotCopyableWithSwap>; in test_swap_sfinae()
45 struct NotCopyableWithSwap { struct46 NotCopyableWithSwap() = default;47 NotCopyableWithSwap(const NotCopyableWithSwap &) = delete;48 NotCopyableWithSwap &operator=(const NotCopyableWithSwap &) = delete;50 void swap(NotCopyableWithSwap &, NotCopyableWithSwap) {} in swap() argument509 using V = std::variant<int, NotCopyableWithSwap>; in test_swap_sfinae()