Title
Direct or copy initialization for omitted aggregate initializers
Status
c++17
Section
9.4.2 [dcl.init.aggr]
Submitter
Richard Smith

Created on 2015-04-22.00:00:00 last changed 29 months ago

Messages

Date: 2022-07-15.00:00:00

Additional notes (July, 2022):

The resolution of issue 2272 also resolves this issue.

Date: 2015-10-15.00:00:00

Notes from the October, 2015 meeting:

CWG agreed that copy initialization should be used; paragraph 7 should have wording similar to paragraph 2. See also issue 1518.

Date: 2015-05-15.00:00:00

Proposed resolution (May, 2015) [SUPERSEDED]:

This issue is resolved by the resolution of issue 1630.

Date: 2017-02-15.00:00:00

[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.

History
Date User Action Args
2022-07-14 05:18:13adminsetmessages: + msg6882
2022-07-14 05:18:13adminsetstatus: drafting -> c++17
2015-11-10 00:00:00adminsetmessages: + msg5659
2015-11-10 00:00:00adminsetstatus: review -> drafting
2015-05-25 00:00:00adminsetmessages: + msg5475
2015-04-22 00:00:00admincreate