Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template is_from_range

boost::algorithm::is_from_range — is_from_range predicate

Synopsis

// In header: <boost/algorithm/string/classification.hpp>


template<typename CharT> unspecified is_from_range(CharT From, CharT To);

Description

Construct the is_from_range predicate. The predicate holds if the input is included in the specified range. (i.e. From <= Ch <= To )

Parameters:

From

The start of the range

To

The end of the range

Returns:

An instance of the is_from_range predicate


PrevUpHomeNext