Return the allocator to use when copy‐constructing a container.
Synopsis
Declared in <bsltf_stdstatefulallocator.h>
StdStatefulAllocator<TYPE, PROPAGATE_ON_CONTAINER_COPY_CONSTRUCTION, PROPAGATE_ON_CONTAINER_COPY_ASSIGNMENT, PROPAGATE_ON_CONTAINER_SWAP, PROPAGATE_ON_CONTAINER_MOVE_ASSIGNMENT, IS_ALWAYS_EQUAL>
select_on_container_copy_construction() const;
Description
Return a copy of this object if the bool template parameter PROPAGATE_ON_CONTAINER_COPY_CONSTRUCTION is true, and a copy of a StdStatefulAllocator object wrapping the default allocator otherwise.
Return Value
this allocator, or one wrapping the default allocator
Created with MrDocs