Home | History | Annotate | Download | only in bits

Lines Matching defs:weak_ptr

1 // shared_ptr and weak_ptr implementation -*- C++ -*-
34 // weak_ptr.hpp
242 * @param __r A weak_ptr.
248 explicit shared_ptr(const weak_ptr<_Tp1>& __r)
461 class weak_ptr : public __weak_ptr<_Tp>
464 constexpr weak_ptr() noexcept
469 weak_ptr(const weak_ptr<_Tp1>& __r) noexcept
474 weak_ptr(const shared_ptr<_Tp1>& __r) noexcept
478 weak_ptr&
479 operator=(const weak_ptr<_Tp1>& __r) noexcept
486 weak_ptr&
514 // 20.7.2.3.6 weak_ptr specialized algorithms.
517 swap(weak_ptr<_Tp>& __a, weak_ptr<_Tp>& __b) noexcept
528 : public _Sp_owner_less<shared_ptr<_Tp>, weak_ptr<_Tp>>
531 weak_ptr.
533 struct owner_less<weak_ptr<_Tp>>
534 : public _Sp_owner_less<weak_ptr<_Tp>, shared_ptr<_Tp>>
579 mutable weak_ptr<_Tp> _M_weak_this;