This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-10-26


1214. Kinds of initializers

Section: 9.4  [dcl.init]     Status: C++11     Submitter: Johannes Schaub     Date: 2010-10-30

[Voted into the WP at the March, 2011 meeting as part of paper N3262.]

9.4 [dcl.init] paragraph 16 describes three kinds of initializers: a single expression, a braced-init-list, and a parenthesized list of expressions. It is not clear which, if any, of these categories is the appropriate description for an initializer like

    T t( { 1, 2 } )

and thus not clear which of the bullets in the list applies.