forked from boostorg/range
Boost.RangeEx merged into Boost.Range
[SVN r60897]
This commit is contained in:
34
doc/reference/algorithm_ext/overwrite.qbk
Normal file
34
doc/reference/algorithm_ext/overwrite.qbk
Normal file
@ -0,0 +1,34 @@
|
||||
[section:overwrite overwrite]
|
||||
|
||||
[heading Prototype]
|
||||
|
||||
``
|
||||
template<
|
||||
class SinglePassRange1,
|
||||
class SinglePassRange2
|
||||
>
|
||||
void overwrite(const SinglePassRange1& from,
|
||||
SinglePassRange2& to);
|
||||
``
|
||||
|
||||
[heading Description]
|
||||
|
||||
`overwrite` assigns the values from the range `from` into the range `to`.
|
||||
|
||||
[heading Definition]
|
||||
|
||||
Defined in the header file `boost/range/algorithm_ext/overwrite.hpp`
|
||||
|
||||
[heading Requirements]
|
||||
|
||||
# `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.
|
||||
|
||||
[heading Complexity]
|
||||
|
||||
Linear. `distance(rng1)` assignments are performed.
|
||||
|
||||
[endsect]
|
Reference in New Issue
Block a user