Concept

ConstRange

Definition

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

Refines

Boost's Range concept

Types

ConstRange::const_iterator
The constant iterator type.


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

Member functions

const_iterator r.begin () const returns the const iterator pointing to the first element.
const_iterator r.end () const returns the past-the-end const iterator.

size_type r.size () const returns the size of the range.
bool r.empty () const returns whether the range is empty.

Has Models

STL containers
boost::iterator_range

See Also

Range