E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ else_()

template<typename V >
auto eve::keep_last::else_ ( V const & v) const
inlineconstexpr

By default, conditional operations use their unchanged input whenever the conditional evaluates to false. By using this member function, operations will use the user provided eve::value v instead.

Parameters
vValue to use if the conditional expression evaluates to false
Returns
An instance of eve::or_ wrapping current conditional expression with v.