iter_swap

includes

template <class InIter1, class InIter2>    bool includes(InIter1 start1, InIter1 end1,                  InIter2 start2, InIter2 end2); template <class InIter1, class InIter2, class Comp>     bool includes(InIter1 start1, InIter1 end1,                   InIter2 start2, InIter2 end2, Comp cmpfn);

The includes( ) algorithm determines if the sequence defined by start1 and end1 includes all of the elements in the sequence defined by start2 and end2. It returns true if the elements are all found and false otherwise.

The second form allows you to specify a comparison function that determines when one element is less than another.




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

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net