Home   Manual   Type Index   Symbol Index   Topics Index

std::in_case

conditionally execute a function

Description

The big difference to if is that the function is executed directly from the caller and not from a subfunction.

See also

std::if   classic if; can be used as a function or a procedure
std::cond   a multiway conditional expression or statement
std_types::true/std::in_case   applies the specified function to the specified arguments
std_types::false/std::in_case   does not call the specified function

Implemented by

std_types::false  as  std_types::false/std::in_case
std_types::true  as  std_types::true/std::in_case

Topics

Branches