Standard C++ Library
Copyright 1998, Rogue Wave Software, Inc.
isdigit
- Determines if a character is a decimal digit.
#include <locale>
template <class charT>
bool isdigit (charT c, const locale& loc) const;
The isdigit_function returns true if the character passed as
a parameter is a decimal digit. Otherwise the function
returns false. The check is made using the ctype facet
from the locale parameter.
Other 'is' functions, locale, ctype