Title
Language linkage of converted lambda function pointer
Status
cd3
Section
7.5.6.2 [expr.prim.lambda.closure]
Submitter
Scott Meyers

Created on 2012-09-19.00:00:00 last changed 130 months ago

Messages

Date: 2013-04-15.00:00:00

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

Date: 2012-10-15.00:00:00

Proposed resolution (October, 2012):

Change 7.5.6 [expr.prim.lambda] paragraph 6 as follows:

The closure type for a lambda-expression with no lambda-capture has a public non-virtual non-explicit const conversion function to pointer to function with C++ language linkage (9.11 [dcl.link]). having the same parameter and return types as the closure type's function call operator. The value returned...
Date: 2012-09-19.00:00:00

7.5.6 [expr.prim.lambda] paragraph 6 does not specify the language linkage of the function type of the closure type's conversion function.

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: + msg4380
2013-05-03 00:00:00adminsetstatus: ready -> dr
2012-11-03 00:00:00adminsetmessages: + msg4047
2012-11-03 00:00:00adminsetstatus: open -> ready
2012-09-19 00:00:00admincreate