Implementing "restrict", and other alias questions

John Carr jfc@mit.edu
Wed Jan 7 14:47:00 GMT 1998


>& is parsed just like * in a declarator.

No, it isn't.  The grammar prohibits type qualifiers after '&' [Dec
'96 dcl.decl paragraph 4], because references are not objects.

The GNU C++ parser accepts type qualifiers after '&', with a warning.




More information about the Gcc mailing list