bsl::allocator_traits<allocator<TYPE>>::select_on_container_copy_construction

Return a default-constructed allocator for container copy construction.

Synopsis

Declared in <bslma_bslallocator.h>

static
allocator_type
select_on_container_copy_construction(allocator_type const& original);

Return Value

a default-constructed allocator_type

Parameters

NameDescription
originalallocator of the source container (ignored)