Evaluates one of two branches based on a condition. More...
#include <boost/mpl11/fwd/logical.hpp>
Evaluates one of two branches based on a condition.
Specifically, if_<Condition, Then, Else>
is equivalent to Then
if Condition::type::value
evaluates to true
, and to Else
otherwise.
if_
can be combined with else_if
and else_
to improve readability.