can be used as a function or a procedure
None
The "then-part"- and "else-part" functions can return any number of results (including none). But both should return the same number of results.
if_not is usually used with a simple then-part and a complex else-part.
std::if | classic if; can be used as a function or a procedure |
std::cond | a multiway conditional expression or statement |
std::case | a multiway conditional expression or statement |
std::and | "short cut" and-operation |
std::or | "short cut" or- operation |
std::default_value | returns the first argument if it is defined or else the second argument |
std_types::false | evaluates the then-part and returns its result(s) |
std_types::true | evaluates the else-part and returns its result(s) |