Constructors
Declared in <support/allocators/pool.h>
Construct a new Pool Resource object, defaults to 2^18=262144 chunk size.
PoolResource();
» more...
Deleted copy constructor; copying a PoolResource is not supported.
PoolResource(PoolResource const& other) = delete;
» more...
Deleted move constructor; moving a PoolResource is not supported.
PoolResource(PoolResource&& other) = delete;
» more...
Construct a new PoolResource object which allocates the first chunk. chunk_size_bytes will be rounded up to next multiple of ELEM_ALIGN_BYTES.
explicit
PoolResource(std::size_t chunk_size_bytes);
» more...
| Name | Description |
|---|---|
| other | The resource that would have been copied. |
| chunk_size_bytes | Requested size in bytes of each memory chunk, rounded up to the next multiple of ELEM_ALIGN_BYTES. |