isdigit

template<class E>
    bool isdigit(E c, const locale& loc) const;

The template function returns use_facet< ctype<E> >(loc). is(ctype<E>:: digit, c).