Title
Misplaced function attribute-specifier
Status
cd3
Section
9.3 [dcl.decl]
Submitter
Nikolay Ivchenkov

Created on 2011-04-14.00:00:00 last changed 131 months ago

Messages

Date: 2012-02-15.00:00:00

[Voted into the WP at the February, 2012 meeting; moved to DR at the October, 2012 meeting.]

Date: 2011-08-15.00:00:00

Proposed resolution (August, 2011):

  1. Change the grammar in 9.3 [dcl.decl] paragraph 4 as follows:

    • parameters-and-qualifiers:
        ( parameter-declaration-clause ) attribute-specifier-seqopt cv-qualifier-seqopt
          ref-qualifieropt exception-specificationopt attribute-specifier-seqopt
  2. Change the grammar snippet in 12.2.2.2.3 [over.call.object] paragraph 2 as follows:

    • operator conversion-type-id ( ) attribute-specifier-seqopt cv-qualifier attribute-specifier-seqopt ;
Date: 2012-09-24.00:00:00

There is a contradiction between the grammar of 9.3 [dcl.decl] paragraph 4 and that of 9.3.4.6 [dcl.fct] paragraphs 1 and 2 and 9.5.1 [dcl.fct.def.general] paragraph 2 regarding the placement of the optional exception-specification: in the former, it immediately follows the parameter-declaration-clause, while in the latter it follows the exception-specification.

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: drwp -> cd3
2012-11-03 00:00:00adminsetstatus: dr -> drwp
2012-09-24 00:00:00adminsetmessages: + msg4003
2012-02-27 00:00:00adminsetmessages: + msg3807
2012-02-27 00:00:00adminsetstatus: ready -> dr
2011-04-14 00:00:00admincreate