Searched refs:ThrowsMove (Results 1 – 3 of 3) sorted by relevance
149 struct ThrowsMove { in main() struct150 ThrowsMove() noexcept {} in main() function151 ThrowsMove(ThrowsMove const&) noexcept {} in main() argument152 ThrowsMove(ThrowsMove &&) noexcept(false) {} in main() argument153 ThrowsMove& operator=(ThrowsMove const&) noexcept { return *this; } in main() argument154 ThrowsMove& operator=(ThrowsMove &&) noexcept { return *this; } in main() argument156 static_assert(!std::is_nothrow_move_assignable<optional<ThrowsMove>>::value, ""); in main()
185 struct ThrowsMove { in main() struct186 ThrowsMove() noexcept(false) {} in main() function187 ThrowsMove(ThrowsMove const&) noexcept(false) {} in main() function188 ThrowsMove(ThrowsMove &&) noexcept(false) {} in main() argument190 static_assert(!std::is_nothrow_move_constructible<optional<ThrowsMove>>::value, ""); in main()
26 struct ThrowsMove { struct27 ThrowsMove(ThrowsMove &&) noexcept(false) {} in ThrowsMove() function90 using V = std::variant<int, ThrowsMove>; in test_move_noexcept()