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& fill( ForwardRange& rng, const Value& val );
17 `fill` assigns the value `val` to every element in the range `rng`.
21 Defined in the header file `boost/range/algorithm/fill.hpp`
23 [heading Requirements]
25 * `ForwardRange` is a model of the __forward_range__ Concept.
26 * `ForwardRange` is mutable.
27 * `Value` is a model of the `AssignableConcept`.
28 * `Value` is convertible to `ForwardRange`'s value type.
32 Linear. Exactly `distance(rng)` assignments are performed.