Re: [PATCH 1/3] libstdc++: Refactor std::list::size() for cxx11 ABI

2024-12-03 Thread Jonathan Wakely
Pushed On Fri, 15 Nov 2024 at 15:26, Jonathan Wakely wrote: > > Remove some preprocessor conditionals by moving the _M_size member for > the cxx11 ABI into a new base class, which is empty for the gcc4-compat > ABI. > > Move some unused members that are only retained for ABI compatibility to > th

[PATCH 1/3] libstdc++: Refactor std::list::size() for cxx11 ABI

2024-11-15 Thread Jonathan Wakely
Remove some preprocessor conditionals by moving the _M_size member for the cxx11 ABI into a new base class, which is empty for the gcc4-compat ABI. Move some unused members that are only retained for ABI compatibility to the end of _List_base and add an explanatory comment. Stop using list::_M_nod