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

◆ list() [5/15]

template<typename type_t , typename allocator_t = xtd::collections::generic::helpers::allocator<typename std::conditional<std::is_same<bool, type_t>::value, char, type_t>::type>>
template<typename input_iterator_t >
xtd::collections::generic::list< type_t, allocator_t >::list ( input_iterator_t  first,
input_iterator_t  last,
const allocator_type alloc = allocator_type() 
)
inline

Constructs the container with the contents of the range [first, last).

Parameters
firstThe first iterator the range to copy the elements from.
lastThe last iterator the range to copy the elements from.
allocThe allocator to use for all memory allocations of this container.