CGAL 5.1 - Handles and Circulators
ConstRange Class Reference

#include <Concepts/ConstRange.h>

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

◆ const_iterator

typedef unspecified_type ConstRange::const_iterator

The constant iterator type.

◆ size_type

typedef unspecified_type ConstRange::size_type

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

Member Function Documentation

◆ begin()

const_iterator ConstRange::begin ( ) const

returns the const iterator pointing to the first element.

◆ empty()

bool ConstRange::empty ( ) const

returns whether the range is empty.

◆ end()

const_iterator ConstRange::end ( ) const

returns the past-the-end const iterator.

◆ size()

size_type ConstRange::size ( ) const

returns the size of the range.