Re: [PATCH] libstdc++: Add assertions to std::list::pop_{front,back}

2025-03-15 Thread Patrick Palka
On Thu, Mar 6, 2025 at 6:37 AM Jonathan Wakely wrote: > > The recently-approved Standard Library Hardening proposal (P3471R4) > gives pop_front and pop_back member functions hardened preconditions, > but std::list was missing assertions on them. Our other sequence > containers do have assertions o

[PATCH] libstdc++: Add assertions to std::list::pop_{front,back}

2025-03-06 Thread Jonathan Wakely
The recently-approved Standard Library Hardening proposal (P3471R4) gives pop_front and pop_back member functions hardened preconditions, but std::list was missing assertions on them. Our other sequence containers do have assertions on those members. libstdc++-v3/ChangeLog: * include/bits