Lines Matching full:__d
110 _My_Deleter(_Deleter __d, const _Alloc& __a)
111 : _My_alloc_type(__a), _M_del(__d) { }
120 * @pre __d(__p) must not throw.
122 _Sp_counted_deleter(_Ptr __p, _Deleter __d)
123 : _Base_type(__p), _M_del(__d, _Alloc()) { }
127 * @pre __d(__p) must not throw.
129 _Sp_counted_deleter(_Ptr __p, _Deleter __d, const _Alloc& __a)
130 : _Base_type(__p), _M_del(__d, __a) { }
240 __shared_count(_Ptr __p, _Deleter __d) : _M_pi(0)
250 ::new(static_cast<void*>(_M_pi)) _Sp_cd_type(__p, __d);
254 __d(__p); // Call _Deleter on __p.
262 __shared_count(_Ptr __p, _Deleter __d, _Alloc __a) : _M_pi(0)
270 ::new(static_cast<void*>(_M_pi)) _Sp_cd_type(__p, __d, __a);
274 __d(__p); // Call _Deleter on __p.
579 // __shared_ptr will release __p by calling __d(__p)
582 * and the deleter @a __d.
584 * @param __d A deleter.
586 * @throw std::bad_alloc, in which case @a __d(__p) is called.
589 __shared_ptr(_Tp1* __p, _Deleter __d)
590 : _M_ptr(__p), _M_refcount(__p, __d)
593 // TODO requires _Deleter CopyConstructible and __d(__p) well-formed
602 // __shared_ptr will release __p by calling __d(__p)
605 * and the deleter @a __d.
607 * @param __d A deleter.
610 * @throw std::bad_alloc, in which case @a __d(__p) is called.
613 __shared_ptr(_Tp1* __p, _Deleter __d, const _Alloc& __a)
614 : _M_ptr(__p), _M_refcount(__p, __d, __a)
617 // TODO requires _Deleter CopyConstructible and __d(__p) well-formed
792 reset(_Tp1* __p, _Deleter __d)
793 { __shared_ptr(__p, __d).swap(*this); }
797 reset(_Tp1* __p, _Deleter __d, const _Alloc& __a)
798 { __shared_ptr(__p, __d, __a).swap(*this); }
1247 shared_ptr(_Tp1* __p, _Deleter __d)
1248 : __shared_ptr<_Tp>(__p, __d) { }
1251 shared_ptr(_Tp1* __p, _Deleter __d, const _Alloc& __a)
1252 : __shared_ptr<_Tp>(__p, __d, __a) { }