HomeManualTopicsTypesSymbols

std::and

"short cut" and-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::and(a -> b)

See also

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

Implemented by

std_types::false returns
std_types::true evaluates its second argument and returns its result