Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dmove.pass.cpp141 struct TrivialCopyNontrivialMove { struct
142 TrivialCopyNontrivialMove(TrivialCopyNontrivialMove const&) = default;
143 TrivialCopyNontrivialMove(TrivialCopyNontrivialMove&&) noexcept {} in TrivialCopyNontrivialMove() function
144 TrivialCopyNontrivialMove& operator=(TrivialCopyNontrivialMove const&) = default;
145 TrivialCopyNontrivialMove& operator=(TrivialCopyNontrivialMove&&) noexcept { in operator =() argument
150 static_assert(std::is_trivially_copy_assignable_v<TrivialCopyNontrivialMove>, "");
151 static_assert(!std::is_trivially_move_assignable_v<TrivialCopyNontrivialMove>, "");
229 using V = std::variant<int, TrivialCopyNontrivialMove>; in test_move_assignment_sfinae()