CGAL 6.1 - STL Extensions for CGAL
Loading...
Searching...
No Matches
CGAL::Insert_iterator< Container > Class Template Reference

#include <CGAL/iterator.h>

Definition

template<typename Container>
class CGAL::Insert_iterator< Container >

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 Symbols

(Note that these are not member symbols.)

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.
 

Constructor & Destructor Documentation

◆ Insert_iterator()

template<typename Container >
CGAL::Insert_iterator< Container >::Insert_iterator ( Container &  c)

initializes the internal container reference to c.

Friends And Related Symbol Documentation

◆ inserter()

template<class Container >
Insert_iterator< Container > inserter ( Container &  c)
related

Constructs Insert_iterator<Container>(x).