cppannotations/yo/stl/findend.yo
fbbrokken 6881bc3814 The trunk directory contains the latest version (6.4.0c) of the C++
Annotations. 

The branches and tags directory are empty, since I couldn't
svnadmin import a repostitory dump. Many earlier versions exist, though, and
if you want the full archive, just let me know and I'll send you the svnadmin
dump of my full C++ Annotations archive.

Frank B. Brokken <f.b.brokken@rug.nl>



git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@3 f6dd340e-d3f9-0310-b409-bdd246841980
2006-09-04 08:26:34 +00:00

33 lines
1.6 KiB
Text

hi(find_end())
itemization(
it() Header file:
centt(#include <algorithm>)
it() Function prototypes:
itemization(
itt(ForwardIterator1 find_end+OPENPARForwardIterator1 first1,
ForwardIterator1 last1,)linebreak()
tt(ForwardIterator2 first2, ForwardIterator2 last2+CLOSEPAR)
itt(ForwardIterator1 find_end+OPENPARForwardIterator1 first1,
ForwardIterator1 last1,)linebreak()
tt(ForwardIterator2 first2, ForwardIterator2 last2,
BinaryPredicate pred+CLOSEPAR)
)
it() Description:
itemization(
it() The first prototype: the sequence of elements implied by
rangett(first1, last1) is searched for the last occurrence of the sequence of
elements implied by rangett(first2, last2). If the sequence rangett(first2,
last2) is not found, tt(last1) is returned, otherwise an iterator pointing to
the first element of the matching sequence is returned. The tt(operator==())
of the underlying data type is used to compare the elements in the two
sequences.
it() The second prototype: the sequence of elements implied by
rangett(first1, last1) is searched for the last occurrence of the sequence of
elements implied by rangett(first2, last2). If the sequence rangett(first2,
last2) is not found, tt(last1) is returned, otherwise an iterator pointing to
the first element of the matching sequence is returned. The provided binary
predicate is used to compare the elements in the two sequences.
)
it() Example:
verbinclude(stl/cc/findend.cc)
)