Title
Default-constructible and copy-assignable closure types
Status
extension
Section
8.1.5 [expr.prim.lambda]
Submitter
Ryou Ezoe

Created on 2014-05-24.00:00:00 last changed 73 months ago

Messages

Date: 2014-06-15.00:00:00

Rationale (June, 2014):

CWG was sympathetic to this request, although it felt that the conversion to a function pointer was irrelevant to this question. However, EWG should examine this request for a language change before any action is taken.

Date: 2014-05-24.00:00:00

It would be more consistent if the closure type of a lambda expression with no lambda-capture were default-constructible and copy-assignable, since such lambdas are already convertible to a function pointer, which has those characteristics.

History
Date User Action Args
2014-07-07 00:00:00adminsetmessages: + msg5120
2014-07-07 00:00:00adminsetstatus: open -> extension
2014-05-24 00:00:00admincreate