Create a list that has the same value as the specified original object. Use the specified basicAllocator to supply memory. This method requires that the (template parameter) VALUE be copy‐insertable into this list (see {Requirements on VALUE}). Note that a bslma::Allocator * can be supplied for basicAllocator if the (template parameter) type ALLOCATOR is bsl::allocator (the default).

Synopsis

Declared in <bslstl_list.h>

list(
    list const& original,
    ALLOCATOR const& basicAllocator);

Created with MrDocs