Name

fill function template — Fills a range with copies of a value

Synopsis

template<typename FwdIter, typename T>
  void fill(FwdIter first, FwdIter last, const T& value);

The fill function template fills the destination range [first, last) by assigning value to each item in the range.