Searched refs:TCopyNTMove (Results 1 – 1 of 1) sorted by relevance
74 struct TCopyNTMove { struct75 constexpr TCopyNTMove(int v) : value(v) {} in TCopyNTMove() argument76 TCopyNTMove(const TCopyNTMove&) = default;77 TCopyNTMove(TCopyNTMove&& that) : value(that.value) { that.value = -1; } in TCopyNTMove() argument81 static_assert(std::is_trivially_copy_constructible<TCopyNTMove>::value, ""); argument145 using V = std::variant<int, TCopyNTMove>; in test_copy_ctor_sfinae()210 constexpr std::variant<TCopyNTMove> v(std::in_place_index<0>, 42); in test_copy_ctor_basic()212 constexpr std::variant<TCopyNTMove> v2(v); in test_copy_ctor_basic()217 constexpr std::variant<int, TCopyNTMove> v(std::in_place_index<1>, 42); in test_copy_ctor_basic()219 constexpr std::variant<int, TCopyNTMove> v2(v); in test_copy_ctor_basic()