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 evaluate

boost::yap::evaluate

Synopsis

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


template<typename Expr, typename... T> 
  decltype(auto) constexpr evaluate(Expr && expr, T &&... t);

Description

Evaluates expr using the built-in semantics, replacing any placeholders with the given values.

[Note] Note

evaluate(expr) is only valid if expr is an expression.


PrevUpHomeNext