enum LambdaCaptureKind
Description
The different capture forms in a lambda introducer C++11 allows capture of \c this, or of local variables by copy or by reference. C++1y also allows "init-capture", where the initializer is an expression.
Declared at: clang/include/clang/Basic/Lambda.h:33
Enumerators
| Name | Value | Comment |
|---|---|---|
| LCK_This | 0 | Capturing the \c *this object by reference |
| LCK_StarThis | 1 | Capturing the \c *this object by copy |
| LCK_ByCopy | 2 | Capturing by copy (a.k.a., by value) |
| LCK_ByRef | 3 | Capturing by reference |
| LCK_VLAType | 4 | Capturing variable-length array type |