Home | History | Annotate | Download | only in util.smartptr.weak.const

Lines Matching refs:weak_ptr

12 // weak_ptr
14 // template<class Y> weak_ptr(const weak_ptr<Y>& r);
56 static_assert(( std::is_convertible<std::weak_ptr<A>, std::weak_ptr<B> >::value), "");
57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::weak_ptr<A> >::value), "");
58 static_assert((!std::is_convertible<std::weak_ptr<A>, std::weak_ptr<C> >::value), "");
60 const std::weak_ptr<A> pA(std::shared_ptr<A>(new A));
65 std::weak_ptr<B> pB(pA);
78 std::weak_ptr<A> pA;
83 std::weak_ptr<B> pB(pA);