reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

usr/include/c++/7.4.0/bits/shared_ptr_base.h
  584 	      _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
  618 	      _M_pi = __mem;
  639 	  _M_pi = __mem;
  672 	  _M_pi = __mem;
  683 	if (_M_pi != nullptr)
  684 	  _M_pi->_M_release();
  688       : _M_pi(__r._M_pi)
  690 	if (_M_pi != 0)
  691 	  _M_pi->_M_add_ref_copy();
  697 	_Sp_counted_base<_Lp>* __tmp = __r._M_pi;
  698 	if (__tmp != _M_pi)
  702 	    if (_M_pi != 0)
  703 	      _M_pi->_M_release();
  704 	    _M_pi = __tmp;
  712 	_Sp_counted_base<_Lp>* __tmp = __r._M_pi;
  713 	__r._M_pi = _M_pi;
  713 	__r._M_pi = _M_pi;
  714 	_M_pi = __tmp;
  719       { return _M_pi != 0 ? _M_pi->_M_get_use_count() : 0; }
  719       { return _M_pi != 0 ? _M_pi->_M_get_use_count() : 0; }
  727       { return _M_pi ? _M_pi->_M_get_deleter(__ti) : nullptr; }
  727       { return _M_pi ? _M_pi->_M_get_deleter(__ti) : nullptr; }
  757       : _M_pi(__r._M_pi)
  783 	_Sp_counted_base<_Lp>* __tmp = __r._M_pi;
  851       if (_M_pi != nullptr)
  852 	_M_pi->_M_add_ref_lock();
  864       if (_M_pi != nullptr)
  865 	if (!_M_pi->_M_add_ref_lock_nothrow())
  866 	  _M_pi = nullptr;