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 an older version of Boost and was released in 2019. The current version is 1.89.0.
template< class SinglePassRange1, class SinglePassRange2 > void overwrite(const SinglePassRange1& from, SinglePassRange2& to);
overwrite assigns the
values from the range from
into the range to.
Defined in the header file boost/range/algorithm_ext/overwrite.hpp
SinglePassRange1
is a model of the Single
Pass Range Concept.
SinglePassRange2
is a model of the Single
Pass Range Concept.
SinglePassRange2
is mutable.
distance(SinglePassRange1)
<= distance(SinglePassRange2)
SinglePassRange1's
value type is convertible to SinglePassRange2's
value type.
Linear. distance(rng1)
assignments are performed.