A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/CWG/issues/2116.html below:

CWG Issue 2116

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

2025-08-11

2116. Direct or copy initialization for omitted aggregate initializersSection: 9.5.2  [dcl.init.aggr]     Status: C++17     Submitter: Richard Smith     Date: 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 of issue 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 also issue 1518.

Additional notes (July, 2022):

The resolution of issue 2272 also resolves this issue.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4