![]()  | 
Home | Libraries | People | FAQ | More | 
boost::proto::functional::right — A callable PolymorphicFunctionObject that is equivalent to the
            proto::right() function.
// In header: <boost/proto/traits.hpp> struct right : proto::callable { // member classes/structs/unions template<typename This, typename Expr> struct result<This(Expr)> : proto::result_of::right< Expr > { }; // public member functions template<typename Expr> typename proto::result_of::right< Expr & >::type operator()(Expr &) const; template<typename Expr> typename proto::result_of::right< Expr const & >::type operator()(Expr const &) const; };
right public member functionstemplate<typename Expr> typename proto::result_of::right< Expr & >::type operator()(Expr & expr) const;
Return the right child of the given binary expression.
Parameters:  | 
  | 
||
Requires:  | 
 
                   
                    | 
||
Returns:  | 
                    | 
||
Throws:  | 
Will not throw. | 
template<typename Expr> typename proto::result_of::right< Expr const & >::type operator()(Expr const & expr) const;