[PATCH] libstdc++: Make std::unique_lock self-move-assignable

2025-03-07 Thread Jonathan Wakely
LWG 4172 was approved in Hagenberg, February 2025, fixing std::unique_lock and std::shared_lock to work correctly for self-move-assignment. Our std::shared_lock was already doing the right thing (contradicting the standard) so just add a comment there. Our std::unique_lock needs to be fixed to do

Re: [PATCH] libstdc++: Make std::unique_lock self-move-assignable

2025-03-06 Thread Patrick Palka
On Thu, Mar 6, 2025 at 8:53 AM Jonathan Wakely wrote: > > LWG 4172 was approved in Hagenberg, February 2025, fixing > std::unique_lock and std::shared_lock to work correctly for > self-move-assignment. > > Our std::shared_lock was already doing the right thing (contradicting > the standard) so jus