Lines Matching defs:_Deleter
323 template<typename _Ptr, typename _Deleter, typename _Alloc, _Lock_policy _Lp>
332 _Deleter _M_del; // copy constructor must not throw
333 _My_Deleter(_Deleter __d, const _Alloc& __a)
339 _Sp_counted_deleter(_Ptr __p, _Deleter __d)
343 _Sp_counted_deleter(_Ptr __p, _Deleter __d, const _Alloc& __a)
366 return __ti == typeid(_Deleter) ? &_M_del._M_del : 0;
464 template<typename _Ptr, typename _Deleter>
465 __shared_count(_Ptr __p, _Deleter __d) : _M_pi(0)
469 typedef _Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp> _Sp_cd_type;
482 __d(__p); // Call _Deleter on __p.
489 template<typename _Ptr, typename _Deleter, typename _Alloc>
490 __shared_count(_Ptr __p, _Deleter __d, _Alloc __a) : _M_pi(0)
492 typedef _Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp> _Sp_cd_type;
506 __d(__p); // Call _Deleter on __p.
778 template<typename _Tp1, typename _Deleter>
779 __shared_ptr(_Tp1* __p, _Deleter __d)
783 // TODO requires _Deleter CopyConstructible and __d(__p) well-formed
787 template<typename _Tp1, typename _Deleter, typename _Alloc>
788 __shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a)
792 // TODO requires _Deleter CopyConstructible and __d(__p) well-formed
796 template<typename _Deleter>
797 __shared_ptr(nullptr_t __p, _Deleter __d)
801 template<typename _Deleter, typename _Alloc>
802 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
933 template<typename _Tp1, typename _Deleter>
935 reset(_Tp1* __p, _Deleter __d)
938 template<typename _Tp1, typename _Deleter, typename _Alloc>
940 reset(_Tp1* __p, _Deleter __d, _Alloc __a)
1007 struct _Deleter
1024 _Deleter<_Alloc2> __del = { _Alloc2(__a) };