From eda3163b9c4865e1c7c4404bd103bd735c9bc8f8 Mon Sep 17 00:00:00 2001 From: Casey Carter Date: Sun, 29 Jan 2023 10:16:07 -0800 Subject: [PATCH 1/2] Speculatively implement LWG-3867 Fixes #3355. --- stl/inc/syncstream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stl/inc/syncstream b/stl/inc/syncstream index ffe3cb722e0..469803588d2 100644 --- a/stl/inc/syncstream +++ b/stl/inc/syncstream @@ -346,7 +346,7 @@ public: ~basic_osyncstream() = default; - basic_osyncstream& operator=(basic_osyncstream&&) noexcept = default; + basic_osyncstream& operator=(basic_osyncstream&&) = default; // per LWG-3867 void emit() { ios_base::iostate _State = ios_base::goodbit; From 5f0e3c776301b1308361e936baebe1f64e086bd2 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Mon, 30 Jan 2023 09:50:27 -0800 Subject: [PATCH 2/2] Goodbye, squirrels! --- tests/std/tests/GH_001858_iostream_exception/test.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/std/tests/GH_001858_iostream_exception/test.cpp b/tests/std/tests/GH_001858_iostream_exception/test.cpp index 4079c25cf16..5ddb356a1e5 100644 --- a/tests/std/tests/GH_001858_iostream_exception/test.cpp +++ b/tests/std/tests/GH_001858_iostream_exception/test.cpp @@ -389,8 +389,6 @@ static_assert(is_nothrow_swappable_v); static_assert(is_nothrow_swappable_v); static_assert(is_nothrow_swappable_v); -// TRANSITION, GH-3355: ": is_nothrow_move_assignable_v is squirrelly" - static_assert(has_nothrow_rdbuf); // mandatory static_assert(has_nothrow_rdbuf); // mandatory #endif // _HAS_CXX20