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

Lines Matching refs:pA

64         const std::weak_ptr<A> pA(std::shared_ptr<A>(new A));
65 assert(pA.use_count() == 0);
69 std::weak_ptr<B> pB(pA);
73 assert(pA.use_count() == 0);
75 assert(pA.use_count() == 0);
82 std::weak_ptr<A> pA;
83 assert(pA.use_count() == 0);
87 std::weak_ptr<B> pB(pA);
91 assert(pA.use_count() == 0);
93 assert(pA.use_count() == 0);
102 std::weak_ptr<A> pA = source(ps);
103 std::weak_ptr<B> pB(std::move(pA));