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

2024-04-18


1650. Class prvalues in reference initialization

Section: 9.4.4  [dcl.init.ref]     Status: NAD     Submitter: Michael Wong     Date: 2013-04-15

As described in the “additional note, January, 2012” in issue 1287, questions were raised regarding the treatment of class prvalues in the original proposed resolution and the proposed resolution was revised (February, 2012) to address those concerns. The revised resolution raised its own set of concerns with regard to slicing and performance, however, and the issue was moved back to "review" status to allow further discussion.

At the April, 2013 meeting, it was decided to proceed with the original resolution of issue 1287 and split off the concerns regarding class prvalues into this issue.

Notes from the September, 2013 meeting:

The resolution for issue 1604 results in indirect binding to a subobject and will no longer cause slicing.

Rationale (November, 2013):

CWG determined that, in light of the resolution of issue 1604, no further change was necessary.