[#PoolResource-2constructor-08]
= xref:PoolResource.adoc[PoolResource]::PoolResource
:relfileprefix: ../
:mrdocs:

Construct a new PoolResource object which allocates the first chunk&period; chunk&lowbar;size&lowbar;bytes will be rounded up to next multiple of ELEM&lowbar;ALIGN&lowbar;BYTES&period;

== Synopsis

Declared in `&lt;support&sol;allocators&sol;pool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
PoolResource(std::size&lowbar;t chunk&lowbar;size&lowbar;bytes);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *chunk&lowbar;size&lowbar;bytes*
| Requested size in bytes of each memory chunk, rounded up to the next multiple of ELEM&lowbar;ALIGN&lowbar;BYTES&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
