Movatterモバイル変換


[0]ホーム

URL:


Issue 1346 - WG21 CWG Issues
Title
expression-list initializers and the auto specifier
Status
cd3
Section
9.2.9.7 [dcl.spec.auto]
Submitter
Richard Smith

Created on2011-08-16.00:00:00 last changed145 months ago

Messages

msg3804 (view)
Date: 2012-02-15.00:00:00

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

msg3455 (view)
Date: 2011-08-15.00:00:00

Proposed resolution (August, 2011):

Change 9.2.9.7 [dcl.spec.auto] paragraph 3 as follows:

...auto shall appear as one of thedecl-specifiers inthedecl-specifier-seq and thedecl-specifier-seq shallbe followed by one or moreinit-declarators, each of whichshall have a non-empty initializer.In aninitializer ofthe form

    (expression-list)

theexpression-list shall be a singleassignment-expression. [Example:...

msg3454 (view)
Date: 2011-08-16.00:00:00

9.2.9.7 [dcl.spec.auto] does not address the case when theinitializer for anauto variable is a parenthesizedexpression-list.

History
DateUserActionArgs
2014-03-03 00:00:00adminsetstatus: drwp -> cd3
2012-11-03 00:00:00adminsetstatus: dr -> drwp
2012-02-27 00:00:00adminsetmessages: +msg3804
2012-02-27 00:00:00adminsetstatus: ready -> dr
2011-09-06 00:00:00adminsetmessages: +msg3455
2011-08-16 00:00:00admincreate

[8]ページ先頭

©2009-2026 Movatter.jp