[C2x] Disallow function attributes after function identifier

Jonathan Wakely jwakely.gcc@gmail.com
Mon Jun 13 15:54:27 GMT 2022

On Sat, 11 Jun 2022 at 21:17, Alejandro Colomar wrote:
> P.S.: Please consider deprecating 'auto' some day.  It would be nice to
> see C++'s auto in ISO C some day, even if it's 2060.  I'm not entirely
> happy doing `#define auto __auto_type` (of course it's UB, but it's nice) ;)

There's a proposal, but it leaves it open whether to standardize it as
"auto" or "__auto_type".


More information about the Gcc mailing list