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


1489. Is value-initialization of an array constant initialization?

Section:  [basic.start.static]     Status: CD3     Submitter: Steve Adamczyk     Date: 2012-03-29

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

According to [basic.start.static] paragraph 2,

Constant initialization is performed:

Presumably this would include a value-initialization (i.e., with no expressions) such as

  int a[1000]{};

However, we have recently clarified the degenerate cases of other similar rules referencing “every,” so it wouldn't hurt to be more explicit here.

Proposed resolution (October, 2012):

Change [basic.start.static] paragraph 2 as follows:

Constant initialization is performed: