[#BloombergLP-bslalg-ConstructorProxy_PolymorphicAllocator-2constructor-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ConstructorProxy_PolymorphicAllocator.adoc[ConstructorProxy&lowbar;PolymorphicAllocator]::ConstructorProxy&lowbar;PolymorphicAllocator
:relfileprefix: ../../../
:mrdocs:

Construct from the address of a `memory&lowbar;resource` optionally specified by `r`&period; If `r` is null or not specified, construct from the default allocator&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;constructorproxy&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ConstructorProxy&lowbar;PolymorphicAllocator(std::pmr::memory&lowbar;resource* r = 0);
----


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