Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dmove.pass.cpp183 struct ThrowsMove { in main() struct
184 ThrowsMove() noexcept {} in main() argument
185 ThrowsMove(ThrowsMove const&) noexcept {} in main() function
186 ThrowsMove(ThrowsMove &&) noexcept(false) {} in main() argument
187 ThrowsMove& operator=(ThrowsMove const&) noexcept { return *this; } in main() argument
188 ThrowsMove& operator=(ThrowsMove &&) noexcept { return *this; } in main() argument
190 static_assert(!std::is_nothrow_move_assignable<optional<ThrowsMove>>::value, ""); in main()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dmove.pass.cpp208 struct ThrowsMove { in main() struct
209 ThrowsMove() noexcept(false) {} in main() argument
210 ThrowsMove(ThrowsMove const&) noexcept(false) {} in main() function
211 ThrowsMove(ThrowsMove &&) noexcept(false) {} in main() argument
213 static_assert(!std::is_nothrow_move_constructible<optional<ThrowsMove>>::value, ""); in main()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dmove.pass.cpp35 struct ThrowsMove { struct
36 ThrowsMove(ThrowsMove &&) noexcept(false) {} in ThrowsMove() argument
127 using V = std::variant<int, ThrowsMove>; in test_move_noexcept()