Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template find_first_not_of

boost::unit_test::utils::find_first_not_of — this algorithm search through first collection for first element that does not satisfy binary predicate in conjunction will any element in second collection

Synopsis

// In header: <boost/test/utils/algorithm.hpp>


template<typename ForwardIterator1, typename ForwardIterator2, 
         typename Predicate> 
  ForwardIterator1 
  find_first_not_of(ForwardIterator1 first1, ForwardIterator1 last1, 
                    ForwardIterator2 first2, ForwardIterator2 last2, 
                    Predicate pred);

Description

Parameters:

first1

- first collection begin iterator

first2

- second collection begin iterator

last1

- first collection end iterator

last2

- second collection end iterator

pred

- predicate to be used for search


PrevUpHomeNext