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 develop branch, built from commit 42f6ea1194.
PrevUpHomeNext

Function template get

boost::yap::get

Synopsis

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


template<typename Expr, typename I> 
  constexpr 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