"Fossies" - the Fresh Open Source Software Archive

Member "doc_html/STL_Extension/classCGAL_1_1Join__input__iterator__2.html" (8 Nov 2019, 14573 Bytes) of package /linux/misc/CGAL-4.14.2-doc_html.tar.xz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the CGAL-4.14.2-doc_html.tar.xz project site itself.

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.14.2 - STL Extensions for CGAL
CGAL::Join_input_iterator_2< I1, I2, Op > Class Template Reference

#include <CGAL/iterator.h>

Definition

The class Join_input_iterator_2 joins two iterators.

The result is again an iterator (of the same iterator category type as the original iterator) that reads an object from the stream and applies a function object to that object.

Is Model Of:
InputIterator

Public Types

typedef Op::result_type value_type
 
typedef std::iterator_traits< I1 >::difference_type difference_type
 
typedef value_typepointer
 
typedef value_typereference
 

Public Member Functions

I1 current_iterator1 () const
 returns current position of the first iterator.
 
I2 current_iterator2 () const
 returns current position of the second iterator.
 
const value_typeoperator* () const
 returns op(current_iterator1(), current_iterator2()).
 

Creation

 Join_input_iterator_2 ()
 Default constructor.
 
 Join_input_iterator_2 (I1 i1, I2 i2, const Op &op=Op())
 creates a join iterator from the given iterators i1, i2, and the functor op.