https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117154

--- Comment #9 from Carlos Galvez <carlosgalvezp at gmail dot com> ---
> it looks like GCC already implements the suggested resolution.

@Jonathan Wakely I just learned that all examples from CWG 2244 fail also with
GCC:

https://godbolt.org/z/v8r1a5aGG

So it seems to me that CWG 2244 is not resolved yet (as per the linked bug).
I'm curious then why the example I posted in the OP works for GCC, if CWG 2244
is not resolved?

Reply via email to