Home   Manual   Type Index   Symbol Index   Topics Index


executes a function unless the condition is true


The first argument must be std::true or std::false.

The second argument must be a function that does not return any results.

In the case the first argument is std::true nothing is done.

In the case the first argument is std::false the function specified as the second argument is called.

See also

std::if   classic if; can be used as a function or a procedure
std::default_value   returns the first argument if it is defined or else the second argument

Implemented by

std_types::false  as  std_types::false/std::unless
std_types::true  as  std_types::true/std::unless