[#bsl-list-054-2constructor-09] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::list :relfileprefix: ../../ :mrdocs: Create a list and append each `value_type` object in the specified `values` initializer list. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is not supplied, a default‐constructed object of the (template parameter) type `ALLOCATOR` is used. If the type `ALLOCATOR` is `bsl::allocator` (the default), then `basicAllocator`, if supplied, shall be convertible to `bslma::Allocator *`. If the type `ALLOCATOR` is `bsl::allocator` and `basicAllocator` is not supplied, the currently installed default allocator is used. This method requires that the (template parameter) `VALUE` be `copy‐insertable` into this list (see {Requirements on `VALUE`}). == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- list( std::initializer_list<value_type> values, ALLOCATOR const& basicAllocator = ALLOCATOR()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#