http://llvm.org/bugs/show_bug.cgi?id=12020
Bug #: 12020
Summary: GNU lambda extension: creating a capture variable with
a value
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++0x
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
GCC's implementation of lambda expressions allows a lambda like this:
[i=1]{return i;}()
where this creates a member named 'i' in the lambda and initializes it with the
value one. It's like capturing a variable, except that there is no variable.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs