[#alphanum] [section alphanum] [h1 Synopsis] struct alphanum; This is a [link parser parser]. [h1 Description] It accepts one character in the range `a-z`, `A-Z` or `0-9`. The result of the parser is the accepted character. [h1 Header] #include [h1 Expression semantics] The following are equivalent: alphanum one_of [h1 Example] #include #include #include #include #include using namespace boost::metaparse; static_assert( !is_error>::type::value, "alphanum should accept a digit" ); static_assert( !is_error>::type::value, "alphanum should accept a character" ); static_assert( get_result< alphanum::apply >::type::value == 'x', "the result of parsing should be the character value" ); static_assert( is_error>::type::value, "alphanum should reject a comma" ); [endsect]