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

◆ assign() [3/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>>
virtual void xtd::collections::generic::list< type_t, allocator_t >::assign ( std::initializer_list< type_t >  items)
inlinevirtual

Replaces the contents with the elements from the initializer list items.

Parameters
itemsthe initializer list to copy the values from.