CGAL::Oneset_iterator<T>

Definition

The class Oneset_iterator<T> defines an BidirectionalIterator that always refers to one specific object of type T. Internally, Oneset_iterator<T> stores a pointer to the referred object.

#include <CGAL/iterator.h>

Is Model for the Concepts

BidirectionalIterator

Creation

Oneset_iterator<T> i ( T& t);
creates an iterator referring to t.

See Also

CGAL::Emptyset_iterator
CGAL::Const_oneset_iterator