Kiwaku 0.1-beta
Containers Well Made
 
Loading...
Searching...
No Matches

◆ allocate() [2/2]

void * kwk::allocate ( heap_allocator const &  ,
std::size_t  n 
)
inlinenoexcept

Allocates data on the heap.

Parameters
nNumber of bytes to allocate
Returns
A pointer to the newly allocated memory. If zero byte was requested, the returned pointer is equal to nullptr.