Boost.Range commit fix for the mismatch documentation - thanks to vincente botet for spotting this.

[SVN r61651]
This commit is contained in:
Neil Groves
2010-04-28 16:52:24 +00:00
parent ec58d739eb
commit 5364ea2cad
2 changed files with 9 additions and 17 deletions

View File

@ -75,12 +75,10 @@ mismatch(const SinglePassRange1& rng1, SinglePassRange2& rng2,
[heading Description]
`mismatch` finds the first position where the two ranges `rng1` and `rng2` differ.
`mismatch` finds the first position where the correseponding elements from the two ranges `rng1` and `rng2` are not equal.
Equality is determined by `operator==` for non-predicate versions of `mismatch`, and by satisfying `pred` in the predicate versions.
The versions of `mismatch` that return a `range_return`, defines `found` in the same manner as the returned iterator described above.
[heading Definition]
Defined in the header file `boost/range/algorithm/mismatch.hpp`