4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt.range

Description

Range utilities.

Classes

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

Functions

template<typename Range >
auto fcppt::range::begin (Range &_range)
 Calls begin via ADL.
 
template<typename Range >
bool fcppt::range::empty (Range const &_range)
 Tests if a range is empty.
 
template<typename Range >
auto fcppt::range::end (Range &_range)
 Calls end via ADL.
 
template<typename Iterator >
fcppt::iterator::range< Iterator > fcppt::range::from_pair (std::pair< Iterator, Iterator > const &_range)
 Creates a range from a std::pair.
 
template<typename Range >
bool fcppt::range::singular (Range const &_range)
 Tests if a range consists of a single element.
 
template<typename Range >
auto fcppt::range::size (Range const &_range)
 Returns the size of a range.
 

Function Documentation

◆ begin()

template<typename Range >
auto fcppt::range::begin ( Range & _range)

Calls begin via ADL.

◆ empty()

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

Tests if a range is empty.

◆ end()

template<typename Range >
auto fcppt::range::end ( Range & _range)

Calls end via ADL.

◆ from_pair()

template<typename Iterator >
fcppt::iterator::range< Iterator > fcppt::range::from_pair ( std::pair< Iterator, Iterator > const & _range)

Creates a range from a std::pair.

◆ 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.