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
This is an older version of Boost and was released in 2024. The current version is 1.89.0.
BinaryParser is a composite parser that has a two
subjects, left and right. The BinaryParser allows its
subjects to be treated in the same way as a single instance of a Parser
following the Composite Design Pattern.
Notation
pA BinaryParser.
PA BinaryParser type.
In addition to the requirements defined in Parser, for any BinaryParser
the following must be met:
|
Expression |
Description |
|---|---|
|
|
The left parser type. |
|
|
The right parser type. |
|
|
Metafunction that evaluates to |
For any BinaryParser, P,
the following invariants always hold:
traits::is_parser<P::left_type>::type evaluates to mpl::true_
traits::is_parser<P::right_type>::type evaluates to mpl::true_