[expr.log.or] (original) (raw)
The || operator groups left-to-right.
The operands are both contextually converted to bool ([conv]).
The result istrue if either of its operands is true, andfalse otherwise.
Unlike |, || guarantees left-to-right evaluation; moreover, the second operand is not evaluated if the first operand evaluates to true.