CWG Issue 2116 (original) (raw)
This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-04-13
2116. Direct or copy initialization for omitted aggregate initializers
Section: 9.5.2 [dcl.init.aggr]Status: C++17Submitter: Richard SmithDate: 2015-04-22
[Adopted at the February/March, 2017 meeting.]
The Standard does not specify whether the initialization from{} that is done for omitted initializers in aggregate initialization is direct or copy initialization. There is divergence among implementations.
Proposed resolution (May, 2015) [SUPERSEDED]:
This issue is resolved by the resolution ofissue 1630.
Notes from the October, 2015 meeting:
CWG agreed that copy initialization should be used; paragraph 7 should have wording similar to paragraph 2. See alsoissue 1518.
Additional notes (July, 2022):
The resolution of issue 2272 also resolves this issue.