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

Lines Matching refs:pA

67         const std::weak_ptr<A> pA(std::shared_ptr<A>(new A));
68 assert(pA.use_count() == 0);
72 std::weak_ptr<B> pB(pA);
76 assert(pA.use_count() == 0);
78 assert(pA.use_count() == 0);
85 std::weak_ptr<A> pA;
86 assert(pA.use_count() == 0);
90 std::weak_ptr<B> pB(pA);
94 assert(pA.use_count() == 0);
96 assert(pA.use_count() == 0);
105 std::weak_ptr<A> pA = source(ps);
106 std::weak_ptr<B> pB(std::move(pA));