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

◆ assign() [1/3]

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>>
void xtd::collections::generic::list< type_t, allocator_t >::assign ( size_type  count,
const type_t &  value 
)
inline

Replaces the contents with count copies of value value.

Parameters
countThe new size of the container.
valueThe value to initialize elements of the container with.