![]() |
Home | Libraries | People | FAQ | More |
BOOST_PROTO_ASSERT_MATCHES — Assert at compile time that a particular expression matches the specified grammar.
// In header: <boost/proto/debug.hpp>
BOOST_PROTO_ASSERT_MATCHES(expr, Grammar)
Use BOOST_PROTO_ASSERT_MATCHES()
to assert at compile-time that
an expression matches a grammar.
Example:
proto::plus< proto::terminal< proto::terminal< proto::lit(
See also: