Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template impl

boost::proto::terminal::impl

Synopsis

// In header: <boost/proto/traits.hpp>


template<typename Expr, typename State, typename Data> 
struct impl :  proto::transform_impl< Expr, State, Data > {
  // types
  typedef Expr result_type;

  // public member functions
  Expr operator()(typename impl::expr_param, typename impl::state_param, 
                  typename impl::data_param) const;
};

Description

impl public member functions

  1. Expr operator()(typename impl::expr_param expr, typename impl::state_param, 
                    typename impl::data_param) const;

    Parameters:

    expr

    The current expression

    Requires:

    proto::matches<Expr, proto::terminal<T> >::value is true.

    Returns:

    expr

    Throws:

    Will not throw.

PrevUpHomeNext