Syntactic sugar for when<_, Fun>
, for use in grammars to handle all the cases not yet handled.
More...
#include <when.hpp>
Public Types | |
typedef _ | first |
typedef Fun | second |
typedef _::proto_grammar | proto_grammar |
Syntactic sugar for when<_, Fun>
, for use in grammars to handle all the cases not yet handled.
Use otherwise<T>
in your grammars as a synonym for when<_, T>
as in the following transform which counts the number of terminals in an expression.
|
inherited |
|
inherited |
|
inherited |