4.6.0
Freundlich's C++ toolkit
|
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. | |
auto fcppt::range::begin | ( | Range & | _range | ) |
Calls begin via ADL.
|
inline |
Tests if a range is empty.
auto fcppt::range::end | ( | Range & | _range | ) |
Calls end via ADL.
fcppt::iterator::range< Iterator > fcppt::range::from_pair | ( | std::pair< Iterator, Iterator > const & | _range | ) |
Creates a range from a std::pair.
bool fcppt::range::singular | ( | Range const & | _range | ) |
Tests if a range consists of a single element.
|
inline |
Returns the size of a range.