template <class ForIter>    ForIter adjacent_find(ForIter start, ForIter end);template <class ForIter, class BinPred>      ForIter adjacent_find(ForIter start, ForIter end,                            BinPred pfn); 

The adjacent_find( ) algorithm searches for adjacent matching elements within a sequence specified by start and end and returns an iterator to the first element. If no adjacent pair is found, end is returned. The first version looks for equivalent elements. The second version lets you specify your own method for determining matching elements.

C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539 © 2008-2017.
If you may any questions please contact us: