https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122828
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |16.0
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
CWG3131 is now implemented since r16-7132-gef8af34e0d173723a607789
The testcase compiles just fine now:
g++ -freflection -std=c++26 -o pr122828{,.C}
./pr122828
Color 0: <unnamed>
Color 0: red