Home
last modified time | relevance | path

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

/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dmove.pass.cpp190 struct ThrowsMoveAssign { in main() struct
191 ThrowsMoveAssign() noexcept {} in main() argument
192 ThrowsMoveAssign(ThrowsMoveAssign const&) noexcept {} in main() argument
193 ThrowsMoveAssign(ThrowsMoveAssign &&) noexcept {} in main() function
194 ThrowsMoveAssign& operator=(ThrowsMoveAssign const&) noexcept { return *this; } in main() argument
195 ThrowsMoveAssign& operator=(ThrowsMoveAssign &&) noexcept(false) { return *this; } in main() argument
197 static_assert(!std::is_nothrow_move_assignable<optional<ThrowsMoveAssign>>::value, ""); in main()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dmove.pass.cpp191 struct ThrowsMoveAssign { in main() struct
192 ThrowsMoveAssign() noexcept {} in main() argument
193 ThrowsMoveAssign(ThrowsMoveAssign const&) noexcept {} in main() function
194 ThrowsMoveAssign(ThrowsMoveAssign &&) noexcept {} in main() argument
195 ThrowsMoveAssign& operator=(ThrowsMoveAssign const&) noexcept { return *this; } in main() argument
196 ThrowsMoveAssign& operator=(ThrowsMoveAssign &&) noexcept(false) { return *this; } in main() argument
198 static_assert(!std::is_nothrow_move_assignable<optional<ThrowsMoveAssign>>::value, ""); in main()