Title
Initialization with an empty initializer list
Status
nad
Section
9.4.5 [dcl.init.list]
Submitter
Daniel Krügler

Created on 2009-10-17.00:00:00 last changed 175 months ago

Messages

Date: 2009-10-15.00:00:00

Rationale (October, 2009):

The description is intended as an aid to understanding the concepts, not as a literal transformation that is performed. An implementation is permitted to allocate a zero-length array, even if such as array cannot be decclared (e.g., via a new-expression).

Date: 2022-11-20.07:54:16

The exposition of list initialization using an array in 9.4.5 [dcl.init.list] paragraph 4 raises the question of whether an empty initializer list is permitted, as declaration of an array with a zero bound is ill-formed.

History
Date User Action Args
2009-11-08 00:00:00adminsetmessages: + msg2485
2009-10-17 00:00:00admincreate