Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
fill
Prototype

template<class ForwardRange, class Value>
ForwardRange& fill( ForwardRange& rng, const Value& val );

Description

fill assigns the value val to every element in the range rng.

Definition

Defined in the header file boost/range/algorithm/fill.hpp

Requirements
Complexity

Linear. Exactly distance(rng) assignments are performed.


PrevUpHomeNext