static int isalnum(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_ALPHA) || (ascii_char_types[ch] & BOOST_CC_DIGIT); }
static int toupper(int ch) { BOOST_ASSERT(isascii_(ch)); return islower(ch) ? (ch - 'a' + 'A') : ch; }
static int isupper(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_UPPER); }
static int isspace(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_SPACE); }
static int ispunct(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_PUNCT); }
static int islower(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_LOWER); }
static int iscntrl(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_CTRL); }
static int isxdigit(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_XDIGIT); }
static int isalpha(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_ALPHA); }
static bool isupper(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_UPPER) ? true : false; }
static bool ischar(int ch) { return isascii_(ch); }
static bool isspace(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_SPACE) ? true : false; }
static bool ispunct(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_PUNCT) ? true : false; }
static bool iscntrl(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_CTRL) ? true : false; }
static bool isxdigit(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_XDIGIT) ? true : false; }
static bool isalpha(int ch) { BOOST_ASSERT(isascii_(ch)); return (ascii_char_types[ch] & BOOST_CC_ALPHA) ? true : false; }