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

This is the documentation for a snapshot of the master branch, built from commit b9ab49fc70.
PrevUpHomeNext

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] Note

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


PrevUpHomeNext