Statements (23)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:programming_language
|
| gptkbp:canBeCaptured |
local variables
by reference by value this pointer |
| gptkbp:enables |
anonymous functions
|
| gptkbp:hasSyntax |
[capture](parameters) -> return_type { body }
|
| gptkbp:introducedIn |
gptkb:C++11
|
| gptkbp:relatedTo |
gptkb:C++14_generic_lambdas
gptkb:C++17_constexpr_lambdas |
| gptkbp:replacedBy |
functors
function pointers |
| gptkbp:returnType |
can be deduced
can be specified |
| gptkbp:standardizedBy |
gptkb:ISO/IEC_14882:2011
|
| gptkbp:supports |
closures
|
| gptkbp:usedFor |
functional programming
inline function definition passing functions as arguments |
| gptkbp:usedIn |
gptkb:STL_algorithms
|
| gptkbp:bfsParent |
gptkb:Boost.Lambda
|
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
C++11 lambda expressions
|