https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291
Jonathan Wakely changed:
What|Removed |Added
Resolution|FIXED |MOVED
--- Comment #6 from Jonathan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291
Stephan Bergmann changed:
What|Removed |Added
Resolution|--- |FIXED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291
corentinjabot at gmail dot com changed:
What|Removed |Added
CC||corentinjabot at gmail
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291
--- Comment #3 from Jonathan Wakely ---
https://github.com/cplusplus/CWG/issues/31
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291
--- Comment #2 from Jonathan Wakely ---
Clang implements the wording correctly:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2036r3.html#pnum_3
So int a = 0; [a] (decltype(a)) { }; is ill-formed now. But I'm not convinced
that's a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105291
--- Comment #1 from Jonathan Wakely ---
> > + using __local_end_t = __decltype(__local_end);
This code isn't valid pre-C++11 so we can just use decltype, not __decltype.