xtd 0.2.0
Loading...
Searching...
No Matches

◆ list() [11/15]

template<typename type_t >
xtd::collections::generic::list< type_t >::list ( std::initializer_list< type_t >  items,
const allocator_type alloc = allocator_type() 
)
inline

Constructs the container with the contents of the specified initializer list, and allocator.

Parameters
itemsThe initializer list to initialize the elements of the container with.
allocThe allocator to use for all memory allocations of this container.