Navigation: Up, Table of Contents, Bibliography, Index, Title Page

Function circulator_size

Definition

The size of a circulator is the size of the data structure it refers to. It is zero for a circulator on an empty sequence. The size can be computed in linear time for forward and bidirectional circulators, and in constant time for random access circulators using the minimal circulator. The function circulator_size(c) returns the circulator size. It uses the c.min_circulator() function if c is a random access circulator.

#include <CGAL/circulator.h>

template <class C>
C::size_type circulator_size ( C c)

See Also

circulator_distance, iterator_distance, is_empty_range, Circulator.


Next: Circulator
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The GALIA project. Jan 18, 2000.