Home | History | Annotate | Download | only in tr1

Lines Matching full:__shared_ptr

501     class __shared_ptr;
548 class __shared_ptr
553 __shared_ptr()
559 __shared_ptr(_Tp1* __p)
568 __shared_ptr(_Tp1* __p, _Deleter __d)
579 __shared_ptr(const __shared_ptr<_Tp1, _Lp>& __r)
585 __shared_ptr(const __weak_ptr<_Tp1, _Lp>& __r)
598 __shared_ptr(std::auto_ptr<_Tp1>& __r)
611 __shared_ptr(const __shared_ptr<_Tp1, _Lp>& __r, __static_cast_tag)
617 __shared_ptr(const __shared_ptr<_Tp1, _Lp>& __r, __const_cast_tag)
623 __shared_ptr(const __shared_ptr<_Tp1, _Lp>& __r, __dynamic_cast_tag)
632 __shared_ptr&
633 operator=(const __shared_ptr<_Tp1, _Lp>& __r) // never throws
642 __shared_ptr&
645 __shared_ptr(__r).swap(*this);
652 { __shared_ptr().swap(*this); }
660 __shared_ptr(__p).swap(*this);
666 { __shared_ptr(__p, __d).swap(*this); }
689 typedef _Tp* __shared_ptr::*__unspecified_bool_type;
693 { return _M_ptr == 0 ? 0 : &__shared_ptr::_M_ptr; }
704 swap(__shared_ptr<_Tp, _Lp>& __other) // never throws
717 _M_less(const __shared_ptr<_Tp1, _Lp1>& __rhs) const
720 template<typename _Tp1, _Lock_policy _Lp1> friend class __shared_ptr;
724 friend _Del* get_deleter(const __shared_ptr<_Tp1, _Lp1>&);
729 operator==(const __shared_ptr& __a, const __shared_ptr<_Tp1, _Lp>& __b)
734 operator!=(const __shared_ptr& __a, const __shared_ptr<_Tp1, _Lp>& __b)
739 operator<(const __shared_ptr& __a, const __shared_ptr<_Tp1, _Lp>& __b)
749 swap(__shared_ptr<_Tp, _Lp>& __a, __shared_ptr<_Tp, _Lp>& __b)
759 inline __shared_ptr<_Tp, _Lp>
760 static_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r)
761 { return __shared_ptr<_Tp, _Lp>(__r, __static_cast_tag()); }
769 inline __shared_ptr<_Tp, _Lp>
770 const_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r)
771 { return __shared_ptr<_Tp, _Lp>(__r, __const_cast_tag()); }
779 inline __shared_ptr<_Tp, _Lp>
780 dynamic_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r)
781 { return __shared_ptr<_Tp, _Lp>(__r, __dynamic_cast_tag()); }
787 const __shared_ptr<_Tp, _Lp>& __p)
796 get_deleter(const __shared_ptr<_Tp, _Lp>& __p)
841 __weak_ptr(const __shared_ptr<_Tp1, _Lp>& __r)
856 operator=(const __shared_ptr<_Tp1, _Lp>& __r) // never throws
863 __shared_ptr<_Tp, _Lp>
869 return __shared_ptr<element_type, _Lp>();
873 return __shared_ptr<element_type, _Lp>(*this);
880 return __shared_ptr<element_type, _Lp>();
885 return expired() ? __shared_ptr<element_type, _Lp>()
886 : __shared_ptr<element_type, _Lp>(*this);
924 template<typename _Tp1, _Lock_policy _Lp1> friend class __shared_ptr;
961 __shared_ptr<_Tp, _Lp>
963 { return __shared_ptr<_Tp, _Lp>(this->_M_weak_this); }
965 __shared_ptr<const _Tp, _Lp>
967 { return __shared_ptr<const _Tp, _Lp>(this->_M_weak_this); }
993 : public __shared_ptr<_Tp>
997 : __shared_ptr<_Tp>() { }
1002 : __shared_ptr<_Tp>(__p) { }
1006 : __shared_ptr<_Tp>(__p, __d) { }
1010 : __shared_ptr<_Tp>(__r) { }
1015 : __shared_ptr<_Tp>(__r) { }
1021 : __shared_ptr<_Tp>(__r) { }
1026 : __shared_ptr<_Tp>(__r, __static_cast_tag()) { }
1030 : __shared_ptr<_Tp>(__r, __const_cast_tag()) { }
1034 : __shared_ptr<_Tp>(__r, __dynamic_cast_tag()) { }
1040 this->__shared_ptr<_Tp>::operator=(__r);
1049 this->__shared_ptr<_Tp>::operator=(__r);
1058 swap(__shared_ptr<_Tp>& __a, __shared_ptr<_Tp>& __b)