CGAL 6.1 - Handles and Circulators
Loading...
Searching...
No Matches
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.
 
typedef unspecified_type size_type
 An unsigned integral type that can represent the size of a range.
 

Member functions

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

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.