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

◆ allocate() [1/2]

auto kwk::allocate ( any_allocator a,
std::size_t  n 
)
inline

Allocates data from an opaque allocator instance.

Parameters
aAllocator to use for the allocation
nNumber of bytes to allocate
Returns
A pointer to the newly allocated memory.