Luna::List::assign

void assign(usize count, const value_type &value)

Replaces elements of the list by several copies of the specified value.

Parameters

  • in count

    The number of copies to insert to the list.

  • in value

    The value to copy.