Lines Matching full:__d
336 _My_Deleter(_Deleter __d, const _Alloc& __a)
337 : _My_alloc_type(__a), _M_del(__d) { }
341 // __d(__p) must not throw.
342 _Sp_counted_deleter(_Ptr __p, _Deleter __d)
343 : _M_ptr(__p), _M_del(__d, _Alloc()) { }
345 // __d(__p) must not throw.
346 _Sp_counted_deleter(_Ptr __p, _Deleter __d, const _Alloc& __a)
347 : _M_ptr(__p), _M_del(__d, __a) { }
466 __shared_count(_Ptr __p, _Deleter __d) : _M_pi(0)
476 ::new(static_cast<void*>(_M_pi)) _Sp_cd_type(__p, __d);
480 __d(__p); // Call _Deleter on __p.
488 __shared_count(_Ptr __p, _Deleter __d, _Alloc __a) : _M_pi(0)
496 ::new(static_cast<void*>(_M_pi)) _Sp_cd_type(__p, __d, __a);
500 __d(__p); // Call _Deleter on __p.
770 __shared_ptr(_Tp1* __p, _Deleter __d)
771 : _M_ptr(__p), _M_refcount(__p, __d)
774 // TODO requires _Deleter CopyConstructible and __d(__p) well-formed
779 __shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a)
780 : _M_ptr(__p), _M_refcount(__p, __d, std::move(__a))
783 // TODO requires _Deleter CopyConstructible and __d(__p) well-formed
788 __shared_ptr(nullptr_t __p, _Deleter __d)
789 : _M_ptr(0), _M_refcount(__p, __d)
793 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
794 : _M_ptr(0), _M_refcount(__p, __d, std::move(__a))
925 reset(_Tp1* __p, _Deleter __d)
926 { __shared_ptr(__p, __d).swap(*this); }
930 reset(_Tp1* __p, _Deleter __d, _Alloc __a)
931 { __shared_ptr(__p, __d, std::move(__a)).swap(*this); }