filter_iterator Class Reference
[Boost.Iterator Library]

An iterator over the subset of elements of some sequence which satisfy a given predicate. More...

#include <Iterator.h>


Detailed Description

An iterator over the subset of elements of some sequence which satisfy a given predicate.

Provides boost::filter_iterator and boost::make_filter_iterator convenience function.

See also:
http://www.boost.org/libs/iterator/doc/filter_iterator.html
 template <class Predicate, class Iterator>
   filter_iterator<Predicate,Iterator>
   make_filter_iterator(Predicate f, Iterator x, Iterator end = Iterator());

 template <class Predicate, class Iterator>
   filter_iterator<Predicate,Iterator>
   make_filter_iterator(Iterator x, Iterator end = Iterator());
Remember the deduction rules for template arguments.
 struct MyDefaultConstructibleFilter;
 make_filter_iterator<MyDefaultConstructibleFilter>( c.begin(), c.end() );
 make_filter_iterator( MyDefaultConstructibleFilter(), c.begin(), c.end() );
 ...
 make_filter_iterator( resfilter::ByName("foo"), c.begin(), c.end() );

The documentation for this class was generated from the following file:

doxygen