Re: [PATCH] libstdc++: Rename std::latch data member

2025-04-25 Thread Tomasz Kaminski
On Fri, Apr 25, 2025 at 1:51 PM Jonathan Wakely wrote: > Rename _M_a to match the name of the exposition-only data member shown > in the standard, i.e. 'counter'. > > libstdc++-v3/ChangeLog: > > * include/std/latch (latch::_M_a): Rename to _M_counter. > --- > > IMHO this makes it a little

[PATCH] libstdc++: Rename std::latch data member

2025-04-25 Thread Jonathan Wakely
Rename _M_a to match the name of the exposition-only data member shown in the standard, i.e. 'counter'. libstdc++-v3/ChangeLog: * include/std/latch (latch::_M_a): Rename to _M_counter. --- IMHO this makes it a little easier to compare the implementation to the spec. Tested x86_64-linux.