Luna::Vector::assign

template <typename _Rty>
void assign(Span< _Rty > data)

Replaces elements of the vector by elements specified by one span. Elements in the span will be copy-inserted into the vector.

Parameters

  • in data

    The span that specifies elements to copy from.