cpp/experimental/weak ptr

is a modified version of std that interoperates with std and has support for arrays.

Member functions
{{identical|nonmember=yes|id=weak_ptr|{{small|std::}}weak_ptr|2=

Member functions
The following member functions work with std instead of std and std instead of std. The behavior is otherwise identical.

Non-member functions
This non-member function is declared in the namespace, and work with  rather than std, but otherwise behaves identically to the corresponding C++14 function.

}}