Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template terminal

boost::proto::terminal — A metafunction for generating terminal expression types, a grammar element for matching terminal expressions, and a PrimitiveTransform that returns the current expression unchanged.

Synopsis

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

template<typename T> 
struct terminal :  proto::transform<  {
  // types
  typedef proto::expr< proto::tag::terminal, proto::term<        ;         
  typedef proto::basic_expr< proto::tag::terminal, proto::term<  ;

  // member classes/structs/unions
  template<typename Expr, typename State, typename Data> 
  struct impl :  proto::transform_impl<  {
    // types
    typedef  ;

    // public member functions
     (, , 
                    ) ;
  };
};

Description


PrevUpHomeNext