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

#include <arg.hpp>

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

Public Types

typedef result_of::child_c
< Expr, N >::type 
result_type
 
typedef Expr const expr
 
typedef Expr const & expr_param
 
typedef State const state
 
typedef State const & state_param
 
typedef Data const data
 
typedef Data const & data_param
 

Public Member Functions

result_of::child_c< typename
impl::expr_param, N >::type 
operator() (typename impl::expr_param e, typename impl::state_param, typename impl::data_param) const
 Returns the N-th child of e. More...
 

Member Typedef Documentation

template<typename Expr, typename State, typename Data>
typedef Data const boost::proto::transform_impl< Expr, State, Data >::data
inherited
template<typename Expr, typename State, typename Data>
typedef Data const& boost::proto::transform_impl< Expr, State, Data >::data_param
inherited
template<typename Expr, typename State, typename Data>
typedef Expr const boost::proto::transform_impl< Expr, State, Data >::expr
inherited
template<typename Expr, typename State, typename Data>
typedef Expr const& boost::proto::transform_impl< Expr, State, Data >::expr_param
inherited
template<int N>
template<typename Expr , typename State , typename Data >
typedef result_of::child_c<Expr, N>::type boost::proto::_child_c< N >::impl< Expr, State, Data >::result_type
template<typename Expr, typename State, typename Data>
typedef State const boost::proto::transform_impl< Expr, State, Data >::state
inherited
template<typename Expr, typename State, typename Data>
typedef State const& boost::proto::transform_impl< Expr, State, Data >::state_param
inherited

Member Function Documentation

template<int N>
template<typename Expr , typename State , typename Data >
result_of::child_c<typename impl::expr_param, N>::type boost::proto::_child_c< N >::impl< Expr, State, Data >::operator() ( typename impl< Expr, State, Data >::expr_param  e,
typename impl< Expr, State, Data >::state_param  ,
typename impl< Expr, State, Data >::data_param   
) const
inline

Returns the N-th child of e.

Precondition
arity_of<Expr>value > N
Parameters
eThe current expression.
Returns
proto::child_c<N>(e)
Exceptions
nothrow

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