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

◆ list() [4/15]

template<typename type_t >
xtd::collections::generic::list< type_t >::list ( size_type  count,
const allocator_type alloc = allocator_type() 
)
inlineexplicit

Constructs the container with specified count default-inserted instances of type_t. No copies are made.

Parameters
countThe size of the container.
allocThe allocator to use for all memory allocations of this container.