Navigation:
Up
,
Table of Contents
,
Short Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
CGAL::Insert_iterator<Container>
Definition
The output iterator
Insert_iterator<Container>
is similar to
std::insert_iterator
, but differs in that it calls the
insert()
function of the container without the iterator additional argument.
#include <
CGAL/iterator.h
>
Is Model for the Concepts
OutputIterator
Requirements
Container
provides a member function
insert(const Container::const_reference&)
.
Creation
Insert_iterator<Container>
i ( Container &c);
initializes the internal container reference to
c
.
There is also a global function similar to
std::inserter
:
template < class Container >
Insert_iterator<Container>
inserter ( Container &x)
Constructs
Insert_iterator<Container>
(x)
.
Next:
N_step_adaptor<I,int N>
Navigation:
Up
,
Table of Contents
,
Short Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
CGAL Open Source Project
. Release 3.2.1. 13 July 2006.