![]() |
Home | Libraries | People | FAQ | More |
template<class ForwardRange, class Value> ForwardRange& iota(ForwardRange& rng, Value x);
iota traverses forward
through rng, each element
y in rng
is assigned a value equivalent to x
+ boost::distance(boost::begin(rng), it)
Defined in the header file boost/range/algorithm_ext/iota.hpp
ForwardRange is a model
of the Forward Range
Concept.
Value is a model of
the Incrementable Concept.
Linear. Exactly distance(rng) assignments into rng.