[PATCH] libstdc++: Implement P2835R7 Expose std::atomic_ref's object address

Tomasz Kaminski tkaminsk@redhat.com
Wed Oct 8 07:27:07 GMT 2025


On Wed, Oct 8, 2025 at 3:52 AM Yuao Ma <addr2line@gmail.com> wrote:

> Hi all,
>
> This patch adds support for the c++26 paper "P2835R7 Expose
> std::atomic_ref's object address", including test cases and feature
> test macro. Please take a look when you have time, thanks!
>
The patch LGTM.
It however conflicts with in-flight patch for cv ref support for atomic_ref,
after which this function would be implemented onces for
__atomic_ref_base<T const>.
Link: https://gcc.gnu.org/pipermail/libstdc++/2025-September/063680.html


> Best regards,
> Yuao
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20251008/6c367095/attachment.htm>


More information about the Libstdc++ mailing list