Construct a new PoolResource object which allocates the first chunk. chunk_size_bytes will be rounded up to next multiple of ELEM_ALIGN_BYTES.
Synopsis
Declared in <support/allocators/pool.h>
explicit
PoolResource(std::size_t chunk_size_bytes);
Parameters
Name |
Description |
chunk_size_bytes |
Requested size in bytes of each memory chunk, rounded up to the next multiple of ELEM_ALIGN_BYTES. |
Created with MrDocs