\( \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 4.7 - Handles and Circulators
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ConstRange Concept Reference

Definition

A constant iterator range. Refer to the Range concept for more details.

Refines:
Boost's Range concept
Has Models:

STL containers

boost::iterator_range

See also
Range

Types

typedef unspecified_type const_iterator
 The constant iterator type. More...
 
typedef unspecified_type size_type
 An unsigned integral type that can represent the size of a range. More...
 

Member functions

const_iterator begin () const
 returns the const iterator pointing to the first element. More...
 
const_iterator end () const
 returns the past-the-end const iterator. More...
 
size_type size () const
 returns the size of the range. More...
 
bool empty () const
 returns whether the range is empty. More...
 

Member Typedef Documentation

The constant iterator type.

An unsigned integral type that can represent the size of a range.

Member Function Documentation

const_iterator ConstRange::begin ( ) const

returns the const iterator pointing to the first element.

bool ConstRange::empty ( ) const

returns whether the range is empty.

const_iterator ConstRange::end ( ) const

returns the past-the-end const iterator.

size_type ConstRange::size ( ) const

returns the size of the range.