About 52 results
Open links in new tab
  1. static members - cppreference.com

    Static member functions cannot be virtual, const, volatile, or ref-qualified. The address of a static member function may be stored in a regular pointer to function, but not in a pointer to member …

  2. C++ keyword: static - cppreference.com

    Usage declarations of namespace members with static storage duration and internal linkage definitions of block scope variables with static storage duration and initialized once declarations of class …

  3. C keywords: static - cppreference.com

    Usage declarations of file scope with static storage duration and internal linkage definitions of block scope variables with static storage duration and initialized once

  4. Static storage duration - cppreference.com

    An object whose identifier is declared without the storage-class specifier _Thread_local, and either with external or internal linkage or with the storage-class specifier static, has static storage duration. Its …

  5. static_assert declaration (since C++11) - cppreference.com

    A static_assert declaration may appear at namespace and block scope (as a block declaration) and inside a class body (as a member declaration). If bool-constexpr is well-formed and evaluates to true, …

  6. std::define_static_object - cppreference.com

    Notes As a template parameter object, the resulting object has static storage duration. Template-argument-equivalent values correspond to the same object. The resulting object is a potentially non …

  7. Static assertion (since C11) - cppreference.com

    Static assertion (since C11) Syntax ... Explanation The constant expression is evaluated at compile time and compared to zero.

  8. std::define_static_array - cppreference.com

    Each element of the array is initialized from the value or object represented by std::meta::reflect_constant(static_cast<T>(*it)), where it is an iterator to the corresponding element of …

  9. static_cast conversion - cppreference.com

    If a program uses static_cast to perform the inverse of an ill-formed standard conversion sequence, it is ill-formed. 7) Otherwise, lvalue-to-rvalue, array-to-pointer, and function-to-pointer conversions are …

  10. Storage class specifiers - cppreference.com

    Storage duration The storage duration is the property of an object that defines the minimum potential lifetime of the storage containing the object. The storage duration is determined by the construct …