MemoryManager<T>
CS-W1052The MemoryManager<T>
class allows you to manage memory and the buffer holding the items of the type T
. Adding a finalize
r to the type deriving MemoryManager<T>
may allow memory to be reclaimed or freed while still in use internally. Consider removing the said finalize
r.
Class C : MemoryManager<T>
{
// ...
~C()
{
}
}
Class C : MemoryManager<T>
{
// ...
}