Macaulay2 Engine
Loading...
Searching...
No Matches
◆
allocate()
template<typename
T
>
T
*
StatsAllocator
<
T
>::allocate
(
size_t
num
)
inline
Definition at line
114
of file
myalloc.hpp
.
115
{
116
AllocLogger::logAlloc
(
num
,
sizeof
(
T
));
117
return
static_cast<
T
*
>
(
::operator
new
(
num
*
sizeof
(
T
)));
118
}
AllocLogger::logAlloc
static void logAlloc(size_t num, size_t sz)
Definition
myalloc.hpp:79
StatsAllocator
Definition
myalloc.hpp:105
References
AllocLogger::logAlloc()
, and
T
.
StatsAllocator
Generated on
for Macaulay2 Engine by
1.15.0