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

◆ list() [9/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>>
xtd::collections::generic::list< type_t, allocator_t >::list ( const list< type_t, allocator_t > &  list,
const allocator_type alloc 
)
inline

Default copy constructor with specified list, and allocator.

Parameters
listThe xtd::collections::generic::list which elements will be inserted from.
allocThe allocator to use for all memory allocations of this container.