Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
H A Dmove.pass.cpp182 struct ThrowsMove { in main() struct
183 ThrowsMove() noexcept {} in main() argument
184 ThrowsMove(ThrowsMove const&) noexcept {} in main() function
185 ThrowsMove(ThrowsMove &&) noexcept(false) {} in main() argument
186 ThrowsMove& operator=(ThrowsMove const&) noexcept { return *this; } in main() argument
187 ThrowsMove& operator=(ThrowsMove &&) noexcept { return *this; } in main() argument
189 static_assert(!std::is_nothrow_move_assignable<optional<ThrowsMove>>::value, ""); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Dmove.pass.cpp202 struct ThrowsMove { in main() struct
203 ThrowsMove() noexcept(false) {} in main() function
204 ThrowsMove(ThrowsMove const&) noexcept(false) {} in main() function
205 ThrowsMove(ThrowsMove &&) noexcept(false) {} in main() function
207 static_assert(!std::is_nothrow_move_constructible<optional<ThrowsMove>>::value, ""); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
H A Dmove.pass.cpp28 struct ThrowsMove { struct
29 ThrowsMove(ThrowsMove &&) noexcept(false) {} in ThrowsMove() argument
120 using V = std::variant<int, ThrowsMove>; in test_move_noexcept()