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)
462 class weak_ptr : public __weak_ptr<_Tp>
465 constexpr weak_ptr() noexcept
470 weak_ptr(const weak_ptr<_Tp1>& __r) noexcept
475 weak_ptr(const shared_ptr<_Tp1>& __r) noexcept
479 weak_ptr&
480 operator=(const weak_ptr<_Tp1>& __r) noexcept
487 weak_ptr&
515 // 20.8.13.3.7 weak_ptr specialized algorithms.
518 swap(weak_ptr<_Tp>& __a, weak_ptr<_Tp>& __b) noexcept
529 weak_ptr<_Tp>>
532 /// Partial specialization of owner_less for weak_ptr.
534 struct owner_less<weak_ptr<_Tp>>
535 : public _Sp_owner_less<weak_ptr<_Tp>, shared_ptr<_Tp>>
580 mutable weak_ptr<_Tp> _M_weak_this;