iota
Syntax:
  #include <numeric>
  void iota( iterator start, iterator end, TYPE value );

The iota() algorithm assigns value to the first element in the range [start,end), value+1 to the second element, and so on.

iota() runs in linear time.