2.10.0
Freundlich's C++ toolkit
Classes | Functions
fcppt.range

Description

Range utilities.

Classes

struct  fcppt::range::hash< Type >
 Hashes a range. More...
 

Functions

template<typename Range >
bool fcppt::range::empty (Range const &_range)
 Tests if a range is empty. More...
 
template<typename Range >
bool fcppt::range::singular (Range const &_range)
 Tests if a range consists of a single element. More...
 
template<typename Range >
auto fcppt::range::size (Range const &_range)
 Returns the size of a range. More...
 

Function Documentation

◆ empty()

template<typename Range >
bool fcppt::range::empty ( Range const &  _range)
inline

Tests if a range is empty.

◆ singular()

template<typename Range >
bool fcppt::range::singular ( Range const &  _range)

Tests if a range consists of a single element.

◆ size()

template<typename Range >
auto fcppt::range::size ( Range const &  _range)
inline

Returns the size of a range.