Lines Matching refs:pA
46 const std::shared_ptr<const A> pA(new A);
47 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA);
48 assert(pB.get() == pA.get());
49 assert(!pB.owner_before(pA) && !pA.owner_before(pB));
52 const std::shared_ptr<const A> pA;
53 std::shared_ptr<A> pB = std::const_pointer_cast<A>(pA);
54 assert(pB.get() == pA.get());
55 assert(!pB.owner_before(pA) && !pA.owner_before(pB));