Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Function template right

boost::yap::right

Synopsis

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


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

Description

Returns the right operand in a binary operator expression.

Equivalent to get(expr, 1_c).

[Note] Note

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


PrevUpHomeNext