Class

CGAL::Const_oneset_iterator<T>

Definition

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

#include <CGAL/iterator.h>

Is Model for the Concepts

RandomAccessIterator

Creation

Const_oneset_iterator<T> i ( 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 i's lifetime.

See Also

CGAL::Emptyset_iterator
CGAL::Oneset_iterator