HomeManualTopicsTypesSymbols

std::or

"short cut" or- operation

Parameters

None

Results

None

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 evaluates its second argument and returns its result
std_types::true returns