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


2125. Copy elision and comma operator

Section: 11.9.6  [class.copy.elision]     Status: NAD     Submitter: Vinny Romano     Date: 2015-05-06

Currently, [class.copy.ctor] paragraphs 31-32 apply only to the name of a local variable in determining whether a return expression is a candidate for copy elision or move construction. Would it make sense to extend that to include the right operand of a comma operator?

EWG 2022-11-11

This is a request for a new feature, which should be proposed in a paper to EWG.