Searched defs:UniquePtrTraits (Results 1 – 1 of 1) sorted by relevance
84 struct UniquePtrTraits { struct85 using ItemType = fbl::unique_ptr<TestObject>;87 static ItemType Create(ValueType val) { in Create()93 static ValueType GetValue(const ItemType& c) { return c->value(); } in GetValue()94 static bool CheckLiveCount(size_t expected) { return TestObject::live_obj_count() == expected; } in CheckLiveCount()95 static bool CheckCtorDtorCount() { return TestObject::ctor_count_ == TestObject::dtor_count_; } in CheckCtorDtorCount()
Completed in 4 milliseconds