All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
gears::string::is_digit Struct Reference

Checks if a character is a digit. More...

Public Member Functions

 is_digit (const std::locale &loc=std::locale())
 Constructs the function object with the given locale.
 
template<typename CharT >
bool operator() (CharT c) const
 

Detailed Description

Checks if a character is a digit given a locale. This is a wrapper around std::isdigit(CharT, std::locale)

Definition at line 146 of file classification.hpp.