bsl::_Alloc_traits::create_allocator

Create an allocator of type allocator_type from the specified __a.

Synopsis

Declared in <bslstp_alloc.h>

static
allocator_type
create_allocator(_Orig const& __a);

Return Value

rebound allocator of type allocator_type initialized from __a

Parameters

NameDescription
__aoriginal allocator used to initialize the rebound allocator