[PATCH] libstdc++: implement tuple protocol for std::complex (P2819R2)

Jonathan Wakely jwakely@redhat.com
Sat Mar 1 20:50:48 GMT 2025


On Sat, 1 Mar 2025 at 15:52, Giuseppe D'Angelo
<giuseppe.dangelo@kdab.com> wrote:
>
> Hello,
>
> The attached patch implements the tuple protocol for std::complex (added
> by P2819R2 for C++26).
>
> Tested on x86-64 Linux. Beware that you need the latest GCC trunk,
> otherwise you'll get an ICE (PR 119045).
>
> It's also on Forge here
>
> https://forge.sourceware.org/gcc/gcc-TEST/pulls/34
>
> together with a workaround for the ICE (please ignore that, the GCC
> mirror hasn't synced the proper fix just yet.)

I've synced it now.



More information about the Libstdc++ mailing list