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 if_else

boost::yap::if_else

Synopsis

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


template<typename Expr1, typename Expr2, typename Expr3> 
  constexpr auto if_else(Expr1 && expr1, Expr2 && expr2, Expr3 && expr3);

Description

See Also:

BOOST_YAP_USER_EXPR_IF_ELSE for full semantics.


PrevUpHomeNext