bsl::allocator_traits<std::allocator<ALLOCATOR_TYPE>>::select_on_container_copy_construction

Return the allocator to use when copy-constructing a container.

Synopsis

Declared in <bslma_allocatortraits.h>

using Base::select_on_container_copy_construction;

Description

Return a copy of the allocator that should be used to copy-construct one container from another whose allocator is rhs, via the underlying std::allocator_traits implementation.

Parameters

NameDescription
rhsallocator of the container being copy-constructed from