Title
Requirement on brace-or-equal-initializers of literal types
Status
cd3
Section
6.8 [basic.types]
Submitter
Richard Smith

Created on 2011-08-16.00:00:00 last changed 130 months ago

Messages

Date: 2013-04-15.00:00:00

Proposed resolution (April, 2013):

This issue is resolved by the changes in N3652, adopted at the April, 2013 (Bristol) meeting.

Date: 2011-08-16.00:00:00

The requirement in 6.7.3 [basic.life] paragraph 10 that

  • every constructor call and full-expression in the brace-or-equal-initializers for non-static data members (if any) is a constant expression (7.7 [expr.const]),

is mostly redundant with the constexpr constructor requirements in 9.2.6 [dcl.constexpr] paragraph 4 (although 11.9.3 [class.base.init] does not establish a strict equivalence between brace-or-equal-initializers and mem-initializers).

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: drwp -> cd3
2013-10-14 00:00:00adminsetstatus: dr -> drwp
2013-05-03 00:00:00adminsetmessages: + msg4373
2013-05-03 00:00:00adminsetstatus: drafting -> dr
2011-08-16 00:00:00admincreate