[#PoolResource-2constructor-01] = xref:PoolResource.adoc[PoolResource]::PoolResource :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<support/allocators/pool.h>` Construct a new Pool Resource object, defaults to 2ˆ18=262144 chunk size. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PoolResource/2constructor-07.adoc[PoolResource](); ---- [.small]#xref:PoolResource/2constructor-07.adoc[_» more..._]# Deleted copy constructor; copying a PoolResource is not supported. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PoolResource/2constructor-09.adoc[PoolResource](xref:PoolResource.adoc[PoolResource] const& other) = delete; ---- [.small]#xref:PoolResource/2constructor-09.adoc[_» more..._]# Deleted move constructor; moving a PoolResource is not supported. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PoolResource/2constructor-04.adoc[PoolResource](xref:PoolResource.adoc[PoolResource]&& other) = delete; ---- [.small]#xref:PoolResource/2constructor-04.adoc[_» 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:PoolResource/2constructor-08.adoc[PoolResource](std::size_t chunk_size_bytes); ---- [.small]#xref:PoolResource/2constructor-08.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#