Standard C++ Library Class Reference
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
adjacent_find
 Algorithm
Summary
Find the first adjacent pair of elements in a sequence that are equivalent.
Contents
Synopsis● 
Description● 
Complexity● 
Example● 
Warning● 
See Also● 
Synopsis
#include <algorithm>
template <class ForwardIterator>
 ForwardIterator
 adjacent_find(ForwardIterator first, ForwardIterator last);
template <class ForwardIterator, class BinaryPredicate>
 ForwardIterator
 adjacent_find(ForwardIterator first, ForwardIterator last,
 BinaryPredicate pred);










