[#bsl-allocator_traits-0ae-select_on_container_copy_construction] = xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-0ae.adoc[allocator_traits<std::allocator<ALLOCATOR_TYPE>>]::select_on_container_copy_construction :relfileprefix: ../../ :mrdocs: Return the allocator to use when copy‐constructing a container. == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *rhs* | allocator of the container being copy‐constructed from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#