[#BloombergLP-bslalg-ConstructorProxy_PolymorphicAllocator-2constructor-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ConstructorProxy_PolymorphicAllocator.adoc[ConstructorProxy_PolymorphicAllocator]::ConstructorProxy_PolymorphicAllocator :relfileprefix: ../../../ :mrdocs: Create an allocator using the same `memory_resource` as the specified `other` allocator. == Synopsis Declared in `<bslalg_constructorproxy.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class T2> ConstructorProxy_PolymorphicAllocator(xref:bsl/polymorphic_allocator.adoc[bsl::polymorphic_allocator<T2>] const& other); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#