Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template char_parser

boost::parser::char_parser

Synopsis

// In header: <boost/parser/parser_fwd.hpp>

template<typename Expected, typename AttributeType = void> 
struct char_parser {
};

Description

Matches a single code point. If AttributeType is not void, AttributeType is the attribute type produced; otherwise, the attribute type is the decayed type of the matched code point. The parse fails only if the parser is constructed with a specific set of expected code point values that does not include the matched code point.


PrevUpHomeNext