This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-11-11


1297. Misplaced function attribute-specifier

Section: 9.3  [dcl.decl]     Status: CD3     Submitter: Nikolay Ivchenkov     Date: 2011-04-14

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

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.

Proposed resolution (August, 2011):

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

  2. Change the grammar snippet in 12.2.2.2.3 [over.call.object] paragraph 2 as follows: