\( \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.12.2 - STL Extensions for CGAL
CGAL::Insert_iterator< Container > Class Template Reference

#include <CGAL/iterator.h>

Definition

The output iterator Insert_iterator is similar to std::insert_iterator, but differs in that it calls the insert() function of the container without the iterator additional argument.

Is Model Of:
OutputIterator
Template Parameters
Containerprovides a member function insert(const Container::const_reference&).

Related Functions

(Note that these are not member functions.)

template<class Container >
Insert_iterator< Container > inserter (Container &c)
 Constructs Insert_iterator<Container>(x).
 

Creation

 Insert_iterator (Container &c)
 initializes the internal container reference to c.