Title
Default arguments for lambdas
Status
cd3
Section
7.5.6 [expr.prim.lambda]
Submitter
Jason Merrill

Created on 2009-09-04.00:00:00 last changed 131 months ago

Messages

Date: 2013-04-15.00:00:00

[Moved to DR status at the April, 2013 meeting.]

Date: 2012-02-15.00:00:00

Additional note (February, 2012):

EWG requested that the adoption of this proposed resolution be postponed to allow them to discuss it. The issue has thus been returned to "review" status pending EWG action.

Date: 2011-08-15.00:00:00

Proposed resolution (August, 2011):

Delete the following sentence from 7.5.6 [expr.prim.lambda] paragraph 5:

Default arguments (9.3.4.7 [dcl.fct.default]) shall not be specified in the parameter-declaration-clause of a lambda-declarator.
Date: 2010-08-23.00:00:00
N3092 comment USĀ 29

There does not appear to be any technical difficulty that would require the restriction in 7.5.6 [expr.prim.lambda] paragraph 5 against default arguments in lambda-expressions.

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: drwp -> cd3
2013-10-14 00:00:00adminsetstatus: dr -> drwp
2013-05-03 00:00:00adminsetmessages: + msg4378
2013-05-03 00:00:00adminsetstatus: review -> dr
2012-02-27 00:00:00adminsetmessages: + msg3748
2012-02-27 00:00:00adminsetstatus: ready -> review
2011-09-06 00:00:00adminsetmessages: + msg3429
2011-09-06 00:00:00adminsetstatus: open -> ready
2009-09-04 00:00:00admincreate