template<class Ch, class Facet> inline bool wrap_isdigit(const Facet& fac, Ch c) { #if ! defined( BOOST_NO_LOCALE_ISDIGIT ) return fac.is(std::ctype<Ch>::digit, c); # else using namespace std; return isdigit(c); #endif }
template<class Ch, class Facet> inline bool wrap_isdigit(const Facet& fac, Ch c) { #if ! defined( BOOST_NO_LOCALE_ISDIGIT ) return fac.is(std::ctype<Ch>::digit, c); # else (void) fac; // remove "unused parameter" warning using namespace std; return isdigit(c) != 0; #endif }