Allocate a maximally aligned block of the specified size.
Synopses
Declared in <ball_countingallocator.h>
Allocate a maximally aligned block of the specified size.
virtual
void*
allocate(size_type size) override;
[[nodiscard]]
void*
allocate(
size_t __bytes,
size_t __alignment = _S_max_align);
Return Value
newly allocated maximally aligned block of at least size bytes
Parameters
Name |
Description |
size |
number of bytes to allocate |
Created with MrDocs