Home | History | Annotate | Download | only in bits

Lines Matching defs:__a

333 	_My_Deleter(_Deleter __d, const _Alloc& __a)
334 : _Alloc(__a), _M_del(__d) { }
343 _Sp_counted_deleter(_Ptr __p, _Deleter __d, const _Alloc& __a)
344 : _M_ptr(__p), _M_del(__d, __a) { }
357 typename _Alloc_traits::allocator_type __a(_M_del);
358 _Alloc_traits::destroy(__a, this);
359 _Alloc_traits::deallocate(__a, this, 1);
390 _Impl(_Alloc __a) : _Alloc(__a), _M_ptr() { }
396 _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
397 : _M_impl(__a), _M_storage()
402 allocator_traits<_Alloc>::construct(__a, _M_impl._M_ptr,
418 typename _Alloc_traits::allocator_type __a(_M_impl);
419 _Alloc_traits::destroy(__a, this);
420 _Alloc_traits::deallocate(__a, this, 1);
472 typename _Alloc_traits::allocator_type __a;
476 __mem = _Alloc_traits::allocate(__a, 1);
477 _Alloc_traits::construct(__a, __mem, __p, std::move(__d));
484 _Alloc_traits::deallocate(__a, __mem, 1);
490 __shared_count(_Ptr __p, _Deleter __d, _Alloc __a) : _M_pi(0)
495 typename _Alloc_traits::allocator_type __a2(__a);
501 __p, std::move(__d), std::move(__a));
514 __shared_count(_Sp_make_shared_tag, _Tp*, const _Alloc& __a,
521 typename _Alloc_traits::allocator_type __a2(__a);
525 _Alloc_traits::construct(__a2, __mem, std::move(__a),
613 operator==(const __shared_count& __a, const __shared_count& __b) noexcept
614 { return __a._M_pi == __b._M_pi; }
716 operator==(const __weak_count& __a, const __weak_count& __b) noexcept
717 { return __a._M_pi == __b._M_pi; }
788 __shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a)
789 : _M_ptr(__p), _M_refcount(__p, __d, std::move(__a))
802 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
803 : _M_ptr(0), _M_refcount(__p, __d, std::move(__a))
940 reset(_Tp1* __p, _Deleter __d, _Alloc __a)
941 { __shared_ptr(__p, __d, std::move(__a)).swap(*this); }
994 __shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a,
996 : _M_ptr(), _M_refcount(__tag, (_Tp*)0, __a,
1019 __shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a,
1024 _Deleter<_Alloc2> __del = { _Alloc2(__a) };
1048 __allocate_shared(const _Alloc& __a, _Args&&... __args);
1069 operator==(const __shared_ptr<_Tp1, _Lp>& __a,
1071 { return __a.get() == __b.get(); }
1075 operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
1076 { return !__a; }
1080 operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
1081 { return !__a; }
1085 operator!=(const __shared_ptr<_Tp1, _Lp>& __a,
1087 { return __a.get() != __b.get(); }
1091 operator!=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
1092 { return (bool)__a; }
1096 operator!=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
1097 { return (bool)__a; }
1101 operator<(const __shared_ptr<_Tp1, _Lp>& __a,
1105 return std::less<_CT>()(__a.get(), __b.get());
1110 operator<(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
1111 { return std::less<_Tp*>()(__a.get(), nullptr); }
1115 operator<(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
1116 { return std::less<_Tp*>()(nullptr, __a.get()); }
1120 operator<=(const __shared_ptr<_Tp1, _Lp>& __a,
1122 { return !(__b < __a); }
1126 operator<=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
1127 { return !(nullptr < __a); }
1131 operator<=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
1132 { return !(__a < nullptr); }
1136 operator>(const __shared_ptr<_Tp1, _Lp>& __a,
1138 { return (__b < __a); }
1142 operator>(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
1143 { return std::less<_Tp*>()(nullptr, __a.get()); }
1147 operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
1148 { return std::less<_Tp*>()(__a.get(), nullptr); }
1152 operator>=(const __shared_ptr<_Tp1, _Lp>& __a,
1154 { return !(__a < __b); }
1158 operator>=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
1159 { return !(__a < nullptr); }
1163 operator>=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
1164 { return !(nullptr < __a); }
1185 swap(__shared_ptr<_Tp, _Lp>& __a, __shared_ptr<_Tp, _Lp>& __b) noexcept
1186 { __a.swap(__b); }
1361 swap(__weak_ptr<_Tp, _Lp>& __a, __weak_ptr<_Tp, _Lp>& __b) noexcept
1362 { __a.swap(__b); }
1436 __allocate_shared(const _Alloc& __a, _Args&&... __args)
1438 return __shared_ptr<_Tp, _Lp>(_Sp_make_shared_tag(), __a,