Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::functional::left Struct Reference

A callable PolymorphicFunctionObject that is equivalent to the left() function. More...

#include <traits.hpp>

Classes

struct  result
 
struct  result< This(Expr)>
 

Public Member Functions

template<typename Expr >
BOOST_FORCEINLINE
result_of::left< Expr & >
::type 
operator() (Expr &e) const
 Return the left child of the given binary expression. More...
 
template<typename Expr >
BOOST_FORCEINLINE
result_of::left< Expr const & >
::type 
operator() (Expr const &e) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

A callable PolymorphicFunctionObject that is equivalent to the left() function.

Member Function Documentation

template<typename Expr >
BOOST_FORCEINLINE result_of::left<Expr &>::type boost::proto::functional::left::operator() ( Expr &  e) const
inline

Return the left child of the given binary expression.

Parameters
exprThe expression node.
Precondition
is_expr<Expr>value is true
2 == Expr::proto_arity::value
Returns
proto::left(expr)
Exceptions
nothrow
template<typename Expr >
BOOST_FORCEINLINE result_of::left<Expr const &>::type boost::proto::functional::left::operator() ( Expr const &  e) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.


The documentation for this struct was generated from the following file: