Lines Matching refs:weak_ptr

145 template<class _Tp> class _LIBCPP_TEMPLATE_VIS weak_ptr;  variable
422 typedef weak_ptr<_Tp> weak_type;
631 explicit shared_ptr(const weak_ptr<_Yp>& __r)
845 bool owner_before(weak_ptr<_Up> const& __p) const _NOEXCEPT
933 template <class _Up> friend class _LIBCPP_TEMPLATE_VIS weak_ptr;
938 shared_ptr(weak_ptr<_Tp>) -> shared_ptr<_Tp>;
1387 class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS weak_ptr
1402 _LIBCPP_CONSTEXPR weak_ptr() _NOEXCEPT;
1403 template<class _Yp> _LIBCPP_INLINE_VISIBILITY weak_ptr(shared_ptr<_Yp> const& __r,
1407 weak_ptr(weak_ptr const& __r) _NOEXCEPT;
1408 template<class _Yp> _LIBCPP_INLINE_VISIBILITY weak_ptr(weak_ptr<_Yp> const& __r,
1413 weak_ptr(weak_ptr&& __r) _NOEXCEPT;
1414 template<class _Yp> _LIBCPP_INLINE_VISIBILITY weak_ptr(weak_ptr<_Yp>&& __r,
1417 ~weak_ptr();
1420 weak_ptr& operator=(weak_ptr const& __r) _NOEXCEPT;
1425 weak_ptr&
1428 operator=(weak_ptr<_Yp> const& __r) _NOEXCEPT;
1431 weak_ptr& operator=(weak_ptr&& __r) _NOEXCEPT;
1436 weak_ptr&
1439 operator=(weak_ptr<_Yp>&& __r) _NOEXCEPT;
1445 weak_ptr&
1451 void swap(weak_ptr& __r) _NOEXCEPT;
1468 bool owner_before(const weak_ptr<_Up>& __r) const _NOEXCEPT
1471 template <class _Up> friend class _LIBCPP_TEMPLATE_VIS weak_ptr;
1477 weak_ptr(shared_ptr<_Tp>) -> weak_ptr<_Tp>;
1483 weak_ptr<_Tp>::weak_ptr() _NOEXCEPT
1491 weak_ptr<_Tp>::weak_ptr(weak_ptr const& __r) _NOEXCEPT
1502 weak_ptr<_Tp>::weak_ptr(shared_ptr<_Yp> const& __r,
1515 weak_ptr<_Tp>::weak_ptr(weak_ptr<_Yp> const& __r,
1527 weak_ptr<_Tp>::weak_ptr(weak_ptr&& __r) _NOEXCEPT
1538 weak_ptr<_Tp>::weak_ptr(weak_ptr<_Yp>&& __r,
1549 weak_ptr<_Tp>::~weak_ptr()
1557 weak_ptr<_Tp>&
1558 weak_ptr<_Tp>::operator=(weak_ptr const& __r) _NOEXCEPT
1560 weak_ptr(__r).swap(*this);
1570 weak_ptr<_Tp>&
1572 weak_ptr<_Tp>::operator=(weak_ptr<_Yp> const& __r) _NOEXCEPT
1574 weak_ptr(__r).swap(*this);
1580 weak_ptr<_Tp>&
1581 weak_ptr<_Tp>::operator=(weak_ptr&& __r) _NOEXCEPT
1583 weak_ptr(_VSTD::move(__r)).swap(*this);
1593 weak_ptr<_Tp>&
1595 weak_ptr<_Tp>::operator=(weak_ptr<_Yp>&& __r) _NOEXCEPT
1597 weak_ptr(_VSTD::move(__r)).swap(*this);
1607 weak_ptr<_Tp>&
1609 weak_ptr<_Tp>::operator=(shared_ptr<_Yp> const& __r) _NOEXCEPT
1611 weak_ptr(__r).swap(*this);
1618 weak_ptr<_Tp>::swap(weak_ptr& __r) _NOEXCEPT
1627 swap(weak_ptr<_Tp>& __x, weak_ptr<_Tp>& __y) _NOEXCEPT
1635 weak_ptr<_Tp>::reset() _NOEXCEPT
1637 weak_ptr().swap(*this);
1642 weak_ptr<_Tp>::lock() const _NOEXCEPT
1666 bool operator()(shared_ptr<_Tp> const& __x, weak_ptr<_Tp> const& __y) const _NOEXCEPT
1669 bool operator()( weak_ptr<_Tp> const& __x, shared_ptr<_Tp> const& __y) const _NOEXCEPT
1674 struct _LIBCPP_TEMPLATE_VIS owner_less<weak_ptr<_Tp> >
1675 : __binary_function<weak_ptr<_Tp>, weak_ptr<_Tp>, bool>
1678 bool operator()( weak_ptr<_Tp> const& __x, weak_ptr<_Tp> const& __y) const _NOEXCEPT
1681 bool operator()(shared_ptr<_Tp> const& __x, weak_ptr<_Tp> const& __y) const _NOEXCEPT
1684 bool operator()( weak_ptr<_Tp> const& __x, shared_ptr<_Tp> const& __y) const _NOEXCEPT
1698 bool operator()( shared_ptr<_Tp> const& __x, weak_ptr<_Up> const& __y) const _NOEXCEPT
1702 bool operator()( weak_ptr<_Tp> const& __x, shared_ptr<_Up> const& __y) const _NOEXCEPT
1706 bool operator()( weak_ptr<_Tp> const& __x, weak_ptr<_Up> const& __y) const _NOEXCEPT
1715 mutable weak_ptr<_Tp> __weak_this_;
1736 weak_ptr<_Tp> weak_from_this() _NOEXCEPT
1740 weak_ptr<const _Tp> weak_from_this() const _NOEXCEPT