Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::or_<>::impl< Expr, State, Data > Struct Template Reference

#include <matches.hpp>

Inheritance diagram for boost::proto::or_<>::impl< Expr, State, Data >:
Collaboration diagram for boost::proto::or_<>::impl< Expr, State, Data >:

Detailed Description

template<BOOST_PP_ENUM_PARAMS(BOOST_PROTO_MAX_LOGICAL_ARITY, typename G)>
template<typename Expr, typename State, typename Data>
struct boost::proto::or_<>::impl< Expr, State, Data >

Parameters
eAn expression
sThe current state
dA data of arbitrary type
Precondition
matches<Expr,or_>value is true.
Returns
which()(e, s, d), where which is the sub-grammar that matched Expr.

The documentation for this struct was generated from the following file: