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 is_digit

boost::algorithm::is_digit — is_digit predicate

Synopsis

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


unspecified is_digit(const std::locale & Loc = std::locale());

Description

Construct the is_classified predicate for the ctype_base::digit category.

Parameters:

Loc

A locale used for classification

Returns:

An instance of the is_classified predicate


PrevUpHomeNext