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

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

last1

- first collection end iterator

first2

- second collection begin iterator

last2

- second collection end iterator

pred

- predicate to be used for search


PrevUpHomeNext