Boost logo

Boost :

Subject: [boost] [range][1.43] mismatch doc
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-04-27 18:01:54


The documentation of the mistmatch function contains several errors. The prototypes return a pair of iterators, but the description talk about The versions of mismatch that return an iterator or a range_return.

Could this be improved for 1.43 release or it is better I make a ticket?

"Description
The versions of mismatch that return an iterator, return an iterator to the first position where rng1 and rng2 differ.
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."

Best,
_____________________
Vicente Juan Botet Escribá
http://viboes.blogspot.com/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk