[PATCH][_Hashtable] Use std::addressof
Jonathan Wakely
jwakely.gcc@gmail.com
Mon Apr 13 20:10:00 GMT 2026
On Mon, 13 Apr 2026 at 21:00, François Dumont <frs.dumont@gmail.com> wrote:
>
> Hi
>
> Might still be fine to do now.
It's safe, but also not very important to do now.
OK for trunk.
>
> libstdc++: [_Hashtable] Use std::addressof in post-C++11 code
>
> There is no need to use std::__addressof in post-C++11 code.
That's true since r16-154-gc91eb5a5c13f14
>
> libstdc++-v3/ChangeLog:
>
> * include/bits/hashtable.h: Replace usages of
> std::__addressof with
> std::addressof.
> * include/bits/hashtable_policy.h: Likewise.
>
> Tested under Linux x86_64
>
> Ok to commit ?
>
> François
>
More information about the Libstdc++
mailing list