Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrimitiveLexer
PrevUpHomeNext
Description

PrimitiveLexer is the most basic building block that the client uses to build more complex lexer components.

Refinement of
Type Expressions

Expression

Description

traits::is_primitive_lexer<L>::type

Metafunction that evaluates to mpl::true_ if a certain type, L, is a PrimitiveLexer, mpl::false_ otherwise (See MPL Boolean Constant).

Models

The following lexer components conform to this model:

  • character literals (i.e. 'x'), char_,
  • string literals ("abc"), std::basic_string<>, string

FIXME Add more links to PrimitiveLexer models here.


PrevUpHomeNext