Name
isdigit function template — Determines whether a character is a digit in a
locale
Synopsis
template <typename charT>
bool isdigit(charT c, const locale& loc);
The isdigit
function
determines whether the character c
is a digit in the locale loc
. It returns the following:
use_facet<ctype<charT> >(loc).is(ctype_base::digit, c)