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


994. braced-init-list as a default argument

Section:  [dcl.fct]     Status: C++11     Submitter: Daniel Krügler     Date: 25 Oct, 2009

[Voted into the WP at the November, 2010 meeting.]

It seems strange that it is possible to call a function with an explict argument of {} but that it is not possible to specify that same argument as a default in a function declaration.

Rationale (August, 2010):

This was previously considered and rejected by EWG.

Note (October, 2010):

Additional discussion has indicated a potential willingness to revisit this question.

Proposed resolution (November, 2010):

See paper N3217.