MCPcopy Create free account
hub / github.com/WheretIB/nullc / Destroy

Method Destroy

ObjectPool.h:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 return new T();
30 }
31 void Destroy(T* ptr)
32 {
33 ptr->~T();
34 freeList.push_back(ptr);
35 }
36private:
37 std::vector<void*> freeList;
38};

Callers 1

operator deleteMethod · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected