Re: [PATCH] libstdc++: Replace some uses of std::__addressof with std::addressof

2025-05-27 Thread Tomasz Kaminski
On Fri, May 23, 2025 at 7:00 PM Jonathan Wakely wrote: > Since r16-154-gc91eb5a5c13f14 std::addressof is no less efficient than > std::__addressof, so change some uses of the latter to the former. > > We can't change them all, because some uses need to compile as C++98 > which only has std::__add

Re: [PATCH] libstdc++: Replace some uses of std::__addressof with std::addressof

2025-05-27 Thread Jonathan Wakely
On Tue, 27 May 2025 at 13:26, Tomasz Kaminski wrote: > > > > On Fri, May 23, 2025 at 7:00 PM Jonathan Wakely wrote: >> >> Since r16-154-gc91eb5a5c13f14 std::addressof is no less efficient than >> std::__addressof, so change some uses of the latter to the former. >> >> We can't change them all, be

[PATCH] libstdc++: Replace some uses of std::__addressof with std::addressof

2025-05-23 Thread Jonathan Wakely
Since r16-154-gc91eb5a5c13f14 std::addressof is no less efficient than std::__addressof, so change some uses of the latter to the former. We can't change them all, because some uses need to compile as C++98 which only has std::__addressof. libstdc++-v3/ChangeLog: * include/bits/stl_const