Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template expression<, >

boost::yap::expression<expr_kind::terminal, hana::tuple< T >>

Synopsis

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

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

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

  // public member functions
   ();

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

Description

Terminal expression specialization of the reference expression template.

[Note] Note

Due to a limitation of Doxygen, the value() member and each of the 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. ( t);

    Forwards t into elements.

  3. ( rhs);

    Copies rhs into the only data mamber, elements.

  4. ( 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().


PrevUpHomeNext