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