CGAL::Join_input_iterator_1<Iterator, Creator>

Definition

The class Join_input_iterator_1<Iterator, Creator> joins an input iterator and a creator function object. The result is again an input iterator which reads an object from the stream and applies the creator function object to that object whenever it advances.

#include <CGAL/iterator.h>

Is Model for the Concept

InputIterator

Types

Join_input_iterator_1<Iterator, Creator>::value_type
typedef to Creator::result_type.

Creation

Join_input_iterator_1<Iterator, Creator> join ( Iterator i);
the join of a single iterator i. Applies Creator to each item read from i.

See Also

CGAL::Creator_1<Arg, Result>