Lines Matching refs:pA
48 std::shared_ptr<A> pA(new A);
49 A* ptrA = pA.get();
52 pB = std::move(pA);
56 assert(pA.use_count() == 0);
57 assert(pA.get() == 0);
60 assert(pA.use_count() == 0);
67 std::shared_ptr<A> pA;
68 A* ptrA = pA.get();
71 pB = std::move(pA);
75 assert(pA.use_count() == 0);
76 assert(pA.get() == 0);
79 assert(pA.use_count() == 0);
86 std::shared_ptr<A> pA(new A);
87 A* ptrA = pA.get();
90 pB = std::move(pA);
94 assert(pA.use_count() == 0);
95 assert(pA.get() == 0);
98 assert(pA.use_count() == 0);
105 std::shared_ptr<A> pA;
106 A* ptrA = pA.get();
109 pB = std::move(pA);
113 assert(pA.use_count() == 0);
114 assert(pA.get() == 0);
117 assert(pA.use_count() == 0);