Re: [PATCH] libstdc++: Use scope guard for deallocating nodes in deque.

2025-05-09 Thread Jonathan Wakely
On Fri, 9 May 2025 at 16:13, Tomasz Kaminski wrote: > > > > On Thu, May 8, 2025 at 7:46 PM Jonathan Wakely wrote: >> >> On Fri, 18 Apr 2025 at 10:03, Tomasz Kamiński wrote: >> > >> > This patch adds a _Guard_nodes scope guard nested to the _Deque_base, >> > that deallocates the range of nodes, a

Re: [PATCH] libstdc++: Use scope guard for deallocating nodes in deque.

2025-05-09 Thread Tomasz Kaminski
On Thu, May 8, 2025 at 7:46 PM Jonathan Wakely wrote: > On Fri, 18 Apr 2025 at 10:03, Tomasz Kamiński wrote: > > > > This patch adds a _Guard_nodes scope guard nested to the _Deque_base, > > that deallocates the range of nodes, and replaces __try/__catch block > > with approparietly constructed

Re: [PATCH] libstdc++: Use scope guard for deallocating nodes in deque.

2025-05-09 Thread Tomasz Kaminski
On Fri, May 9, 2025 at 5:25 PM Jonathan Wakely wrote: > On Fri, 9 May 2025 at 16:13, Tomasz Kaminski wrote: > > > > > > > > On Thu, May 8, 2025 at 7:46 PM Jonathan Wakely > wrote: > >> > >> On Fri, 18 Apr 2025 at 10:03, Tomasz Kamiński > wrote: > >> > > >> > This patch adds a _Guard_nodes scop

Re: [PATCH] libstdc++: Use scope guard for deallocating nodes in deque.

2025-05-08 Thread Jonathan Wakely
On Fri, 18 Apr 2025 at 10:03, Tomasz Kamiński wrote: > > This patch adds a _Guard_nodes scope guard nested to the _Deque_base, > that deallocates the range of nodes, and replaces __try/__catch block > with approparietly constructed guard object. "appropriately" > > libstdc++-v3/ChangeLog: > >