Re: [PATCH 3/3 v2] libstdc++: Add fancy pointer support to std::list [PR57272]

2024-12-03 Thread Jonathan Wakely
Pushed On Sat, 16 Nov 2024 at 23:34, Jonathan Wakely wrote: > > Currently std::list uses raw pointers to connect its nodes, which is > non-conforming. We should use the allocator's pointer type everywhere > that a "pointer" is needed. > > Because the existing types like _List_node are part of the

[PATCH 3/3 v2] libstdc++: Add fancy pointer support to std::list [PR57272]

2024-11-16 Thread Jonathan Wakely
Currently std::list uses raw pointers to connect its nodes, which is non-conforming. We should use the allocator's pointer type everywhere that a "pointer" is needed. Because the existing types like _List_node are part of the ABI now, we can't change them. To support nodes that are connected by fa