Title
Position of attribute-specifier in declarator syntax
Status
cd2
Section
9.3 [dcl.decl]
Submitter
Daveed Vandevoorde

Created on 2009-10-08.00:00:00 last changed 173 months ago

Messages

Date: 2009-10-08.00:00:00

In function, pointer, and pointer-to-member declarators, the attribute-specifier appertains to the type being declared, but the syntax has the attribute-specifieropt appearing before the full type is seen — i.e., before the cv-qualifier-seqopt and, for the function case, before the ref-qualifieropt. GNU attributes appear after these elements (and, for the function case, after the exception-specificationopt as well). It would be better, both logically and for consistency with existing practice, to move the attribute-specifieropt accordingly.

History
Date User Action Args
2010-08-23 00:00:00adminsetstatus: open -> cd2
2009-10-08 00:00:00admincreate