\( \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 5.0 - STL Extensions for CGAL
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

◆ Const_oneset_iterator()

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.