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.cpp149 struct ThrowsMove { in main() struct
150 ThrowsMove() noexcept {} in main() function
151 ThrowsMove(ThrowsMove const&) noexcept {} in main() argument
152 ThrowsMove(ThrowsMove &&) noexcept(false) {} in main() argument
153 ThrowsMove& operator=(ThrowsMove const&) noexcept { return *this; } in main() argument
154 ThrowsMove& operator=(ThrowsMove &&) noexcept { return *this; } in main() argument
156 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.cpp185 struct ThrowsMove { in main() struct
186 ThrowsMove() noexcept(false) {} in main() argument
187 ThrowsMove(ThrowsMove const&) noexcept(false) {} in main() function
188 ThrowsMove(ThrowsMove &&) noexcept(false) {} in main() function
190 static_assert(!std::is_nothrow_move_constructible<optional<ThrowsMove>>::value, ""); in main()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/
Dmove.pass.cpp26 struct ThrowsMove { struct
27 ThrowsMove(ThrowsMove &&) noexcept(false) {} in ThrowsMove() function
90 using V = std::variant<int, ThrowsMove>; in test_move_noexcept()