Boost C++ Libraries 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 an old version of Boost. Click here to view this page for the latest version.

Struct template right

boost::proto::result_of::right — A metafunction that returns the type of the right child of a binary Proto expression.


// In header: <boost/proto/traits.hpp>

template<typename Expr> 
struct right :  proto::result_of::child_c< Expr, 1 > {


proto::result_of::right<Expr> is equivalent to proto::result_of::child_c<Expr, 1>.