[#BloombergLP-bslalg-ConstructorProxy_PolymorphicAllocator-2constructor-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ConstructorProxy_PolymorphicAllocator.adoc[ConstructorProxy_PolymorphicAllocator]::ConstructorProxy_PolymorphicAllocator :relfileprefix: ../../../ :mrdocs: Construct from the address of a `memory_resource` optionally specified by `r`. If `r` is null or not specified, construct from the default allocator. == Synopsis Declared in `<bslalg_constructorproxy.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ConstructorProxy_PolymorphicAllocator(std::pmr::memory_resource* r = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#