Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dcopy.pass.cpp74 struct TCopyNTMove { struct
75 constexpr TCopyNTMove(int v) : value(v) {} in TCopyNTMove() argument
76 TCopyNTMove(const TCopyNTMove&) = default;
77 TCopyNTMove(TCopyNTMove&& that) : value(that.value) { that.value = -1; } in TCopyNTMove() argument
81 static_assert(std::is_trivially_copy_constructible<TCopyNTMove>::value, ""); argument
145 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()