MemoryPool icon indicating copy to clipboard operation
MemoryPool copied to clipboard

Destructor

Open alandefreitas opened this issue 5 years ago • 0 comments

I might be wrong but shouldn't

https://github.com/cacay/MemoryPool/blob/1ab4683e38f24940afb397b06a2d86814d898e63/C-11/MemoryPool.tcc#L104

be

operator delete(reinterpret_cast<void*>(curr), BlockSize);

to delete the whole block?

alandefreitas avatar Jun 04 '20 03:06 alandefreitas