Home | History | Annotate | Download | only in bits

Lines Matching defs:weak_ptr

1 // shared_ptr and weak_ptr implementation -*- C++ -*-
32 // weak_ptr.hpp
520 class weak_ptr;
680 * @param __r A weak_ptr.
1150 // 20.8.13.3.7 weak_ptr specialized algorithms.
1272 shared_ptr(const weak_ptr<_Tp1>& __r)
1412 class weak_ptr
1416 weak_ptr()
1420 weak_ptr(const weak_ptr<_Tp1>& __r)
1424 weak_ptr(const shared_ptr<_Tp1>& __r)
1428 weak_ptr&
1429 operator=(const weak_ptr<_Tp1>& __r) // never throws
1436 weak_ptr&
1466 bool operator<(const weak_ptr<_Tp1>&) const = delete;
1468 bool operator<=(const weak_ptr<_Tp1>&) const = delete;
1470 bool operator>(const weak_ptr<_Tp1>&) const = delete;
1472 bool operator>=(const weak_ptr<_Tp1>&) const = delete;
1475 // 20.8.13.3.7 weak_ptr specialized algorithms.
1478 swap(weak_ptr<_Tp>& __a, weak_ptr<_Tp>& __b)
1484 : public _Sp_owner_less<shared_ptr<_Tp>, weak_ptr<_Tp>>
1488 struct owner_less<weak_ptr<_Tp>>
1489 : public _Sp_owner_less<weak_ptr<_Tp>, shared_ptr<_Tp>>
1534 mutable weak_ptr<_Tp> _M_weak_this;