...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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
// 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);