Statements (21)
Predicate | Object |
---|---|
gptkbp:instanceOf |
C++ language feature
|
gptkbp:allows |
type deduction for lambda parameters
|
gptkbp:category |
type inference
lambda expressions |
gptkbp:enables |
higher-order functions
functional programming in C++ lambdas with auto parameters templated lambdas |
gptkbp:hasSyntax |
auto lambda = [](auto x) { return x + x; };
|
https://www.w3.org/2000/01/rdf-schema#label |
C++14 generic lambdas
|
gptkbp:introducedIn |
gptkb:C++14
|
gptkbp:relatedTo |
C++ lambda expressions
C++14 auto keyword |
gptkbp:replacedBy |
explicitly typed lambda parameters in C++11
|
gptkbp:standardizedBy |
gptkb:ISO/IEC_14882:2014
|
gptkbp:supportedBy |
Clang 3.4+
GCC 4.9+ MSVC 2015+ |
gptkbp:usedFor |
writing more generic and reusable code
|
gptkbp:bfsParent |
gptkb:C++11_lambda_expressions
|
gptkbp:bfsLayer |
7
|