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

Name

Description

rhs

allocator of the container being copy‐constructed from

Created with MrDocs