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


972. Allowing multiple attribute-specifiers

Section: 9.12.1  [dcl.attr.grammar]     Status: C++11     Submitter: Daveed Vandevoorde     Date: 5 October, 2009

[Voted into the WP at the November, 2010 meeting as part of paper N3190.

The current syntax requires that multiple attributes that appertain to the same entity be grouped into a single attribute-specifier. The migration from existing vendor-specific attributes would be easier if the syntax allowed multiple attribute-specifiers at each location where an attribute-specifier currently appears.

Proposed resolution (October, 2010):

  1. Replace every occurrence of attribute-specifier with attribute-specifier-seq except in 9.12.1 [dcl.attr.grammar] paragraphs 1, 3, and 6 (but including paragraph 4).

  2. Insert the following production at the beginning of the grammar of 9.12.1 [dcl.attr.grammar] paragraph 1: