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

--- Comment #3 from Jason Liam <jlame646 at gmail dot com> ---
(In reply to Jakub Jelinek from comment #1)
> This is rejected with -std=c++20 since
> r11-532-g4b38d56dbac6742b038551a36ec80200313123a1
> and the commit log states that it is intentional to apply it only for C++20
> mode because the DR wasn't against C++17.
> So why do you think otherwise?
> https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2237
> also states:
> (Note that this resolution is a change for C++20, NOT a defect report
> against C++17 and earlier versions.)

Additionally note that i'm already aware of the cwg defect link that you
provided because i once used it here:
https://stackoverflow.com/questions/71972000/is-having-a-declaration-stackt-for-the-default-ctor-valid-inside-a-class-te/71981884#71981884

But that cwg defect does not apply here. This is a different gcc bug.

Reply via email to