54 results
Open links in new tab
  1. 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 …

  2. cppreference.com

    CppCon 2026 It's the annual, week-long gathering for the entire C++ community. Register now!

  3. std::function - cppreference.com

    Class template std::function is a general-purpose polymorphic function wrapper. Instances of std::function can store, copy, and …

  4. Expressions - cppreference.com

    throw-expression lambda-expression Primary expressions The operands of any operator may be other expressions or primary …

  5. Constraints and concepts (since C++20) - cppreference.com

    Class templates, function templates (including generic lambdas), and other templated functions (typically members of class …

  6. 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 …

  7. 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 …

  8. Scope - cppreference.com

    Lambda scope Each lambda expression introduces a lambda scope that starts immediately after [captures ] and extends to the …

  9. Coroutines (C++20) - cppreference.com

    Function declaration Function parameter list Function definition Function contract specifiers (C++26) Default arguments Vararg …

  10. std::count, std::count_if - cppreference.com

    Returns the number of elements in the source range [first, last) satisfying specific criteria.