About 144 results
Open links in new tab
  1. Pointer declaration - cppreference.net

    2) Pointer to member declarator: the declaration S C::* D; declares D as a pointer to non-static member of C of type determined by the declaration specifier sequence S.

  2. Pointer declaration - cppreference.net

    Pointer declaration Pointer is a type of an object that refers to a function or an object of another type, possibly adding qualifiers. Pointer may also refer to nothing, which is indicated by the special null …

  3. The this pointer - cppreference.net

    This can be used in the member function of the reference-counting pointer (for example, std::shared_ptr)(since C++11) responsible for decrementing the reference count, when the last …

  4. std::is_pointer - cppreference.net

    std::is_pointer is a UnaryTypeTrait. Checks whether T is a pointer to object or function (including pointer to void, but excluding pointer to member) or a cv-qualified version thereof. Provides the member …

  5. std::remove_pointer - cppreference.net

    Provides the member typedef type which is the type pointed to by T, or, if T is not a pointer, then type is the same as T. If the program adds specializations for std::remove_pointer, the behavior is undefined.

  6. std::pointer_traits - cppreference.net

    The pointer_traits class template provides the standardized way to access certain properties of pointer-like types (fancy pointers, such as boost::interprocess::offset_ptr). The standard template …

  7. std::shared_ptr - cppreference.net

    std::shared_ptr is a smart pointer that retains shared ownership of an object through a pointer. Several shared_ptr objects may own the same object. The object is destroyed and its memory deallocated …

  8. std::vector - cppreference.net

    This means that a pointer to an element of a vector may be passed to any function that expects a pointer to an element of an array. The storage of the vector is handled automatically, being expanded as …

  9. std::atomic - cppreference.net

    These specializations have standard layout, trivial default constructors,(until C++20) and trivial destructors. Besides the operations provided for all atomic types, these specializations additionally …

  10. std::weak_ptr - cppreference.net

    std::weak_ptr is a smart pointer that holds a non-owning ("weak") reference to an object that is managed by std::shared_ptr. It must be converted to std::shared_ptr in order to access the referenced object. …