Create an allocator using the same memory_resource as the specified other allocator.

Synopsis

Declared in <bslalg_constructorproxy.h>

template<class T2>
ConstructorProxy_PolymorphicAllocator(bsl::polymorphic_allocator<T2> const& other);

Parameters

Name

Description

other

allocator whose memory resource is adopted

Created with MrDocs