This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 110b. See for the official list.


1031. Optional elements in attributes

Section: 9.12.1  [dcl.attr.grammar]     Status: C++11     Submitter: Daveed Vandevoorde     Date: 2010-02-10

[Voted into the WP at the March, 2011 meeting as part of paper N3262.]

An attribute-argument-clause should be allowed to consist solely of (), i.e., with no balanced-token-seq. Furthermore, the grammar for balanced-token should make the balanced-token-seq optional. Both of these goals could be accomplished by making the balanced-token optional in the first production of the rule for balanced-token-seq.

Proposed resolution (February, 2011) [SUPERSEDED]:

Change the grammar of 9.12.1 [dcl.attr.grammar] paragraph 1 as follows: