Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template iota

boost::algorithm::iota — Generates an increasing sequence of values, and stores them in the input Range.

Synopsis

// In header: <boost/algorithm/cxx11/iota.hpp>


template<typename Range, typename T> 
  BOOST_CXX14_CONSTEXPR void iota(Range & r, T value);

Description

Parameters:

r

The input range

value

The initial value of the sequence to be generated


PrevUpHomeNext