Home | History | Annotate | Download | only in util.smartptr.shared.assign

Lines Matching refs:pB

49             std::shared_ptr<B> pB(new B);
50 pB = std::move(pA);
53 assert(pB.use_count() == 1);
55 assert(pB.get() == ptrA);
66 std::shared_ptr<B> pB(new B);
67 pB = std::move(pA);
70 assert(pB.use_count() == 1);
72 assert(pB.get() == ptrA);
83 std::shared_ptr<B> pB;
84 pB = std::move(pA);
87 assert(pB.use_count() == 1);
89 assert(pB.get() == ptrA);
100 std::shared_ptr<B> pB;
101 pB = std::move(pA);
104 assert(pB.use_count() == 1);
106 assert(pB.get() == ptrA);