Title
Error in the syntax of mem-initializer-list
Status
c++14
Section
11.9.3 [class.base.init]
Submitter
Daniel Krügler

Created on 2013-04-13.00:00:00 last changed 121 months ago

Messages

Date: 2013-09-15.00:00:00

[Moved to DR at the September, 2013 meeting.]

Date: 2013-08-15.00:00:00

Proposed resolution (August, 2013):

Change the grammar in 11.9.3 [class.base.init] paragraph 1 as follows:

    mem-initializer-list:
      mem-initializer ...opt
      mem-initializer ...opt , mem-initializer-list ...opt
Date: 2013-04-13.00:00:00

The grammar in 11.9.3 [class.base.init] paragraph 1 for mem-initializer-list is incorrect:

    mem-initializer-list:
      mem-initializer ...opt
      mem-initializer , mem-initializer-list ...opt

The ellipsis in the second production should be on mem-initializer, not on mem-initializer-list.

History
Date User Action Args
2014-11-24 00:00:00adminsetstatus: drwp -> c++14
2014-03-03 00:00:00adminsetstatus: dr -> drwp
2013-10-14 00:00:00adminsetmessages: + msg4694
2013-10-14 00:00:00adminsetstatus: tentatively ready -> dr
2013-09-03 00:00:00adminsetmessages: + msg4464
2013-09-03 00:00:00adminsetstatus: drafting -> tentatively ready
2013-04-13 00:00:00admincreate