Home | History | Annotate | Download | only in bits

Lines Matching defs:_Alloc

323   template<typename _Ptr, typename _Deleter, typename _Alloc, _Lock_policy _Lp>
326 typedef typename _Alloc::template
331 // Requires that copies of _Alloc can free each other's memory.
336 _My_Deleter(_Deleter __d, const _Alloc& __a)
343 : _M_ptr(__p), _M_del(__d, _Alloc()) { }
346 _Sp_counted_deleter(_Ptr __p, _Deleter __d, const _Alloc& __a)
386 template<typename _Tp, typename _Alloc, _Lock_policy _Lp>
388 : public _Sp_counted_deleter<_Tp*, _Sp_destroy_inplace<_Tp>, _Alloc, _Lp>
390 typedef _Sp_counted_deleter<_Tp*, _Sp_destroy_inplace<_Tp>, _Alloc, _Lp>
395 _Sp_counted_ptr_inplace(_Alloc __a)
405 _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
418 typedef typename _Alloc::template
469 typedef std::allocator<int> _Alloc;
470 typedef _Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp> _Sp_cd_type;
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;
491 typedef typename _Alloc::template rebind<_Sp_cd_type>::other _Alloc2;
507 template<typename _Tp, typename _Alloc, typename... _Args>
508 __shared_count(_Sp_make_shared_tag, _Tp*, const _Alloc& __a,
512 typedef _Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp> _Sp_cp_type;
513 typedef typename _Alloc::template rebind<_Sp_cp_type>::other _Alloc2;
778 template<typename _Tp1, typename _Deleter, typename _Alloc>
779 __shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a)
792 template<typename _Deleter, typename _Alloc>
793 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
928 template<typename _Tp1, typename _Deleter, typename _Alloc>
930 reset(_Tp1* __p, _Deleter __d, _Alloc __a)
983 template<typename _Alloc, typename... _Args>
984 __shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a,
996 template<typename _Alloc>
1004 _Alloc _M_alloc;
1007 template<typename _Alloc, typename... _Args>
1008 __shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a,
1012 typedef typename _Alloc::template rebind<_Tp>::other _Alloc2;
1030 template<typename _Tp1, _Lock_policy _Lp1, typename _Alloc,
1033 __allocate_shared(const _Alloc& __a, _Args&&... __args);
1356 template<typename _Tp, _Lock_policy _Lp, typename _Alloc, typename... _Args>
1358 __allocate_shared(const _Alloc& __a, _Args&&... __args)