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