#include <when.hpp>
template<typename Expr, typename State, typename Data>
template<typename Expr, typename State, typename Data>
template<typename Expr, typename State, typename Data>
template<typename Expr, typename State, typename Data>
template<typename Grammar , typename R , typename Fun >
template<typename Expr, typename State, typename Data>
template<typename Expr, typename State, typename Data>
template<typename Expr, typename State, typename Data>
template<typename Grammar , typename R , typename Fun >
template<typename Expr, typename State, typename Data>
template<typename Grammar , typename R , typename Fun >
template<typename Expr, typename State, typename Data>
BOOST_FORCEINLINE result_type boost::proto::detail::when_impl< Grammar, R, Fun >::impl< Expr, State, Data >::operator() |
( |
typename impl< Expr, State, Data >::expr_param |
e, |
|
|
typename impl< Expr, State, Data >::state_param |
s, |
|
|
typename impl< Expr, State, Data >::data_param |
d |
|
) |
| const |
|
inline |
Evaluate R(A0,A1,...)
as a transform either with call<>
or with make<>
depending on whether is_callable<R>value
is true
or false
.
- Parameters
-
e | The current expression |
s | The current state |
d | An arbitrary data |
- Precondition
matches<Expr, Grammar>value
is true
- Returns
which()(e, s, d)
References template.
The documentation for this struct was generated from the following file:
- boost_1_57_0/boost/proto/transform/when.hpp