Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template expression

boost::yap::expression

Synopsis

// In header: <boost/yap/expression.hpp>

template< Kind, typename Tuple> 
struct expression {
  // types
  typedef  ;

  // construct/copy/destruct
  ();
  ();

  // public member functions
   ();
   ();
   ();

  // public data members
  static  kind;
   elements;
};

Description

Reference expression template that provides all operator overloads.

[Note] Note

Due to a limitation of Doxygen, each of the value(), left(), right(), and operator overloads listed here is a stand-in for three member functions. For each function f, the listing here is:

However, there are actually three functions:

expression public construct/copy/destruct

  1. ();

    Default constructor. Does nothing.

  2. ( rhs);

    Moves rhs into the only data mamber, elements.

expression public member functions

  1.  ();

    A convenience member function that dispatches to the free function value().

  2.  ();

    A convenience member function that dispatches to the free function left().

  3.  ();

    A convenience member function that dispatches to the free function right().


PrevUpHomeNext