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