Lines Matching refs:PtrTraits
28 using PtrTraits = typename ContainerType::PtrTraits;
792 auto raw_obj = PtrTraits::GetRaw(new_obj);
804 EXPECT_EQ(raw_obj, PtrTraits::GetRaw(new_obj));
892 auto raw_obj = PtrTraits::GetRaw(new_obj);
899 PtrTraits::Take(new_obj));
903 EXPECT_EQ(raw_obj, PtrTraits::GetRaw(replaced));
935 }, PtrTraits::Take(new_obj));
955 auto orig_raw = PtrTraits::GetRaw(new_obj);
959 }, PtrTraits::Take(new_obj));
963 EXPECT_EQ(PtrTraits::GetRaw(replaced), orig_raw, "");
1075 PtrType replaced = container().replace(*iter, PtrTraits::Take(new_obj));