
Lambda expressions (since C++11) - cppreference.com
For such lambda expression, the reaching scope is defined as the set of enclosing scopes up to and including the innermost …
cppreference.com
CppCon 2026 It's the annual, week-long gathering for the entire C++ community. Register now!
std::function - cppreference.com
Class template std::function is a general-purpose polymorphic function wrapper. Instances of std::function can store, copy, and …
Expressions - cppreference.com
throw-expression lambda-expression Primary expressions The operands of any operator may be other expressions or primary …
Constraints and concepts (since C++20) - cppreference.com
Class templates, function templates (including generic lambdas), and other templated functions (typically members of class …
Type - cppreference.com
A program-defined type is one of the following types: A non- closure (since C++11) class type or enumeration type that is not part of …
Function contract specifiers (since C++26) - cppreference.com
Function contract specifiers (preconditions spelled with pre and postconditions spelled with post) are specifiers that may be applied …
Scope - cppreference.com
Lambda scope Each lambda expression introduces a lambda scope that starts immediately after [captures ] and extends to the …
Coroutines (C++20) - cppreference.com
Function declaration Function parameter list Function definition Function contract specifiers (C++26) Default arguments Vararg …
std::count, std::count_if - cppreference.com
Returns the number of elements in the source range [first, last) satisfying specific criteria.