class template
<memory>

std::weak_ptr

template <class T> class weak_ptr;
Weak shared pointer
[under construction

Template parameters

T
The type of the weakly managed object, aliased as member type element_type.

Member types

The following alias is a member type of weak_ptr.

member typedefinitionnotes
element_typeTemplate parameter (T)The type of the weakly managed object

Member functions


Non-member functions

Overloads:

See also