\( \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.4 - STL Extensions for CGAL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Const_oneset_iterator< T > Class Template Reference

#include <CGAL/iterator.h>

Definition

The class Const_oneset_iterator defines a RandomAccessIterator that always refers to a copy of a specific object of type T.

Is Model Of:
RandomAccessIterator
See Also
CGAL::Emptyset_iterator
CGAL::Oneset_iterator

Creation

 Const_oneset_iterator (T &t)
 creates an iterator that always refers to some copy of t. More...
 

Constructor & Destructor Documentation

template<typename T >
CGAL::Const_oneset_iterator< T >::Const_oneset_iterator ( T &  t)

creates an iterator that always refers to some copy of t.

The copy is constructed by invoking T's copy constructor and remains constant during the lifetime of the iterator.