Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dcopy.pass.cpp127 struct TCopyAssign { struct
128 constexpr TCopyAssign(int v) : value(v) {} in TCopyAssign() argument
129 TCopyAssign(const TCopyAssign &) = default;
130 TCopyAssign(TCopyAssign &&) = default;
131 TCopyAssign &operator=(const TCopyAssign &) = default;
132 TCopyAssign &operator=(TCopyAssign &&) = delete;
136 static_assert(std::is_trivially_copy_assignable<TCopyAssign>::value, ""); argument
255 using V = std::variant<int, TCopyAssign>; in test_copy_assignment_sfinae()
422 using V = std::variant<int, TCopyAssign, unsigned>; in test_copy_assignment_same_index()
423 V v(std::in_place_type<TCopyAssign>, 43); in test_copy_assignment_same_index()
[all …]