boost::yap::expression
// In header: <boost/yap/expression.hpp> template<expr_kind Kind, typename Tuple> struct expression { // types typedef Tuple tuple_type; // construct/copy/destruct expression(); expression(tuple_type &&); // public member functions decltype(auto) constexpr value(); decltype(auto) constexpr left(); decltype(auto) constexpr right(); // public data members static const expr_kind kind; tuple_type elements; };
Reference expression template that provides all operator overloads.
Note | |
---|---|
Due to a limitation of Doxygen, each of the return_type f (); However, there are actually three functions: return_type f () const &; return_type f () &; return_type f () &&;
|
expression
public member functionsdecltype(auto) constexpr value();
A convenience member function that dispatches to the free function value()
.
decltype(auto) constexpr left();
A convenience member function that dispatches to the free function left()
.
decltype(auto) constexpr right();
A convenience member function that dispatches to the free function right()
.