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

Function template get

boost::yap::get

Synopsis

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


template<typename Expr, typename I> 
  decltype(auto) get(Expr && expr, I const & i);

Description

Forwards the i-th element of expr to the caller. If expr is a reference expression, the result is get(deref(expr), i).

[Note] Note

get() is only valid if Expr is an expression.


PrevUpHomeNext