Home | History | Annotate | Download | only in bits

Lines Matching refs:weak_ptr

1 // shared_ptr and weak_ptr implementation -*- C++ -*-
32 // weak_ptr.hpp
520 class weak_ptr;
680 * @param __r A weak_ptr.
1140 // 20.8.13.3.7 weak_ptr specialized algorithms.
1262 shared_ptr(const weak_ptr<_Tp1>& __r)
1392 class weak_ptr
1396 weak_ptr()
1400 weak_ptr(const weak_ptr<_Tp1>& __r)
1404 weak_ptr(const shared_ptr<_Tp1>& __r)
1408 weak_ptr&
1409 operator=(const weak_ptr<_Tp1>& __r) // never throws
1416 weak_ptr&
1446 bool operator<(const weak_ptr<_Tp1>&) const = delete;
1448 bool operator<=(const weak_ptr<_Tp1>&) const = delete;
1450 bool operator>(const weak_ptr<_Tp1>&) const = delete;
1452 bool operator>=(const weak_ptr<_Tp1>&) const = delete;
1455 // 20.8.13.3.7 weak_ptr specialized algorithms.
1458 swap(weak_ptr<_Tp>& __a, weak_ptr<_Tp>& __b)
1464 : public _Sp_owner_less<shared_ptr<_Tp>, weak_ptr<_Tp>>
1468 struct owner_less<weak_ptr<_Tp>>
1469 : public _Sp_owner_less<weak_ptr<_Tp>, shared_ptr<_Tp>>
1514 mutable weak_ptr<_Tp> _M_weak_this;