CGAL 5.1.3 - STL Extensions for CGAL
CGAL::Insert_iterator< Container > Class Template Reference

#include <CGAL/iterator.h>


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:
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< Containerinserter (Container &c)
 Constructs Insert_iterator<Container>(x).


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