Note: Boost also provides the same functionality via the boost::filter_iterator class. Unfortunately, the semantics chosen for accepting or rejecting elements based on the predicate's result are opposite as the semantic chosen here.
#include <CGAL/iterator.h>
| |||
| |||
creates an iterator which filters values according to p.
Initializes by taking the first valid iterator (according to p),
starting at c, and stopping at e if none is found.
|