Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit a8a4da0b3c.
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