CGAL 5.1 - STL Extensions for CGAL
CGAL::Const_oneset_iterator< T > Class Template Reference

#include <CGAL/iterator.h>

Definition

template<typename T>
class CGAL::Const_oneset_iterator< T >

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.