| Home | Libraries | People | FAQ | More

## Function template right

boost::yap::right

## Synopsis

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

    template<typename Expr> decltype(auto) constexpr right(Expr && expr);

## Description

Returns the right operand in a binary operator expression.

Equivalent to `get(expr, 1_c)`.

| Note
`right()` is only valid if Expr is a binary operator expression.