allocator_traits::select_on_container_copy_construction Method
Static method that calls select_on_container_copy_construction on the specified allocator.
static Alloc select_on_container_copy_construction(const Alloc& al);
Parameters
- al
An allocator object.
Return Value
This method returns al.select_on_container_copy_construction(), if that type is well formed; otherwise it returns al.
Remarks
This method is used to specify an allocator when the associated container is copy-constructed.
Requirements
Header: <memory>
Namespace: std