libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ __weak_count() [3/4]

template<_Lock_policy _Lp>
std::__weak_count< _Lp >::__weak_count ( const __weak_count< _Lp > & __r)
inlinenoexcept

Definition at line 1227 of file shared_ptr_base.h.

1228 : _M_pi(__r._M_pi)
1229 {
1230 if (_M_pi != nullptr)
1231 _M_pi->_M_weak_add_ref();
1232 }
_Sp_counted_base< _Lp > * _M_pi

References __weak_count(), and _M_pi.

Here is the call graph for this function: