Create a list having the same value as the specified original.
Synopsis
Declared in <bslstl_list.h>
list(list const& original);
Description
Use the allocator returned by 'bsl::allocator_traits<ALLOCATOR>:: select_on_container_copy_construction(original.get_allocator())' to allocate memory. This method requires that the (template parameter) type VALUE be copy‐insertable into this list (see {Requirements on VALUE}).
Parameters
Name |
Description |
original |
list whose value is copied |
Created with MrDocs