[PATCH] libstdc++: std::atomic should use std::addressof
Jonathan Wakely
jwakely@redhat.com
Mon Dec 8 09:15:06 GMT 2025
On Mon, 8 Dec 2025 at 08:07, Tomasz Kaminski <tkaminsk@redhat.com> wrote:
>
>
>
> On Fri, Dec 5, 2025 at 6:55 PM Jonathan Wakely <jwakely@redhat.com> wrote:
>>
>> libstdc++-v3/ChangeLog:
>>
>> * include/bits/atomic_wait.h (__detail::__atomic_eq): Use
>> std::addressof instead of &.
>> * include/std/atomic (atomic::wait, atomic::notify_one)
>> (atomic::notify_all): Likewise.
>> ---
>>
>> Tested x86_64-linux.
>
> LGTM. Seems it was already committed.
Yes, pushed after Patrick's review.
More information about the Libstdc++
mailing list