Home
last modified time | relevance | path

Searched defs:StructTypeTraits (Results 1 – 1 of 1) sorted by relevance

/system/utest/fbl/
A Dvector_tests.cpp76 struct StructTypeTraits { struct
77 using ItemType = TestObject;
78 static ItemType Create(ValueType val) { return TestObject(val); } in Create()
79 static ValueType GetValue(const ItemType& c) { return c.value(); } in GetValue()
80 static bool CheckLiveCount(size_t expected) { return TestObject::live_obj_count() == expected; } in CheckLiveCount()
81 static bool CheckCtorDtorCount() { return TestObject::ctor_count_ == TestObject::dtor_count_; } in CheckCtorDtorCount()

Completed in 4 milliseconds