2 Copyright 2010 Neil Groves
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 template<class ForwardRange, class Value>
12 ForwardRange& iota(ForwardRange& rng, Value x);
17 `iota` traverses forward through `rng`, each element `y` in `rng` is assigned a value equivalent
18 to `x + boost::distance(boost::begin(rng), it)`
22 Defined in the header file `boost/range/algorithm_ext/iota.hpp`
24 [heading Requirements]
26 # `ForwardRange` is a model of the __forward_range__ Concept.
27 # `Value` is a model of the `Incrementable` Concept.
31 Linear. Exactly `distance(rng)` assignments into `rng`.