Title
Converting a no-capture lambda to a function type
Status
cd2
Section
7.5.6.2 [expr.prim.lambda.closure]
Submitter
UK

Created on 2009-03-03.00:00:00 last changed 178 months ago

Messages

Date: 2010-03-15.00:00:00

[Voted into WP at March, 2010 meeting as document N3052.]

Date: 2009-07-15.00:00:00

Notes from the July, 2009 meeting:

This functionality is part of the “unified function syntax” proposal and will be considered in that context.

Date: 2009-03-03.00:00:00
N2800 comment UK 42

A lambda with an empty capture list has identical semantics to a regular function type. By requiring this mapping we get an efficient lambda type with a known API that is also compatible with existing operating system and C library functions.

History
Date User Action Args
2010-03-29 00:00:00adminsetmessages: + msg2670
2010-03-29 00:00:00adminsetstatus: open -> cd2
2009-08-03 00:00:00adminsetmessages: + msg2213
2009-03-03 00:00:00admincreate