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_last_of

boost::unit_test::utils::find_last_of — this algorithm search through first collection for last element that satisfy binary predicate in conjunction will at least one element in second collection

Synopsis

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


template<typename BidirectionalIterator1, typename ForwardIterator2, 
         typename Predicate> 
  BidirectionalIterator1 
  find_last_of(BidirectionalIterator1 first1, BidirectionalIterator1 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