Home   Manual   Type Index   Symbol Index   Topics Index

std::or

"short cut" or- operation;

Description

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

The right argument must be a function that evaluates to std::true or std::false.

a || b

is converted by the compiler to

std::or(a -> b)

See also

std::and   "short cut" and-operation
std::if   classic if; can be used as a function or a procedure

Implemented by

std_types::false  as  std_types::false/std::or
std_types::true  as  std_types::true/std::or