Macaulay2 Engine
Loading...
Searching...
No Matches

◆ deallocate()

template<typename T>
void StatsAllocator< T >::deallocate ( T * p,
std::size_t num )
inline

Definition at line 120 of file myalloc.hpp.

121 {
122 AllocLogger::logDealloc(num, sizeof(T));
123 ::operator delete(p);
124 }
static void logDealloc(size_t num, size_t sz)
Definition myalloc.hpp:89

References AllocLogger::logDealloc(), p, and T.