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::right Struct Reference

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

#include <traits.hpp>

Classes

struct  result
 
struct  result< This(Expr)>
 

Public Member Functions

template<typename Expr >
BOOST_FORCEINLINE
result_of::right< Expr & >
::type 
operator() (Expr &e) const
 Return the right child of the given binary expression. More...
 
template<typename Expr >
BOOST_FORCEINLINE
result_of::right< Expr const & >
::type 
operator() (Expr const &e) const
 

Detailed Description

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

Member Function Documentation

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

Return the right child of the given binary expression.

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

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