mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-18 10:06:54 +01:00
79023426de
git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@112 f6dd340e-d3f9-0310-b409-bdd246841980
29 lines
1.4 KiB
Text
29 lines
1.4 KiB
Text
hi(includes())
|
|
itemization(
|
|
it() Header file:
|
|
centt(#include <algorithm>)
|
|
it() Function prototypes:
|
|
itemization(
|
|
itt(bool includes(InputIterator1 first1, InputIterator1 last1,
|
|
InputIterator2 first2, InputIterator2 last2);)
|
|
itt(bool includes(InputIterator1 first1, InputIterator1 last1,
|
|
InputIterator2 first2, InputIterator2 last2, Compare comp);)
|
|
)
|
|
it() Description:
|
|
itemization(
|
|
it() The first prototype: both sequences of elements implied by
|
|
the ranges rangett(first1, last1) and rangett(first2, last2) should have been
|
|
sorted using the tt(operator<()) of the data type to which the iterators
|
|
point. The function returns tt(true) if every element in the second sequence
|
|
rangett(first2, second2) is contained in the first sequence rangett(first1,
|
|
second1) (the second range is a subset of the first range).
|
|
it() The second prototype: both sequences of elements implied by
|
|
the ranges rangett(first1, last1) and rangett(first2, last2) should have been
|
|
sorted using the tt(comp) function object. The function returns tt(true) if
|
|
every element in the second sequence rangett(first2, second2) is contained in
|
|
the first seqence rangett(first1, second1) (the second range is a subset of
|
|
the first range).
|
|
)
|
|
it() Example:
|
|
verbinclude(stl/cc/includes.cc)
|
|
)
|