Lines Matching defs:_Deleter
323 template<typename _Ptr, typename _Deleter, typename _Alloc, _Lock_policy _Lp>
335 _Deleter _M_del; // copy constructor must not throw
336 _My_Deleter(_Deleter __d, const _Alloc& __a)
342 _Sp_counted_deleter(_Ptr __p, _Deleter __d)
346 _Sp_counted_deleter(_Ptr __p, _Deleter __d, const _Alloc& __a)
365 return __ti == typeid(_Deleter) ? &_M_del._M_del : 0;
465 template<typename _Ptr, typename _Deleter>
466 __shared_count(_Ptr __p, _Deleter __d) : _M_pi(0)
470 typedef _Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp> _Sp_cd_type;
480 __d(__p); // Call _Deleter on __p.
487 template<typename _Ptr, typename _Deleter, typename _Alloc>
488 __shared_count(_Ptr __p, _Deleter __d, _Alloc __a) : _M_pi(0)
490 typedef _Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp> _Sp_cd_type;
500 __d(__p); // Call _Deleter on __p.
769 template<typename _Tp1, typename _Deleter>
770 __shared_ptr(_Tp1* __p, _Deleter __d)
774 // TODO requires _Deleter CopyConstructible and __d(__p) well-formed
778 template<typename _Tp1, typename _Deleter, typename _Alloc>
779 __shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a)
783 // TODO requires _Deleter CopyConstructible and __d(__p) well-formed
787 template<typename _Deleter>
788 __shared_ptr(nullptr_t __p, _Deleter __d)
792 template<typename _Deleter, typename _Alloc>
793 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
923 template<typename _Tp1, typename _Deleter>
925 reset(_Tp1* __p, _Deleter __d)
928 template<typename _Tp1, typename _Deleter, typename _Alloc>
930 reset(_Tp1* __p, _Deleter __d, _Alloc __a)
997 struct _Deleter
1013 _Deleter<_Alloc2> __del = { _Alloc2(__a) };