6.5.12 Bitwise inclusive OR operator

Previous Table of Contents

1234

inclusive-OR-expression:
                exclusive-OR-expression
                inclusive-OR-expression | exclusive-OR-expression

1235 Each of the operands shall have integer type.

1236 The usual arithmetic conversions are performed on the operands.

1237 The result of the | operator is the bitwise inclusive OR of the operands (that is, each bit in the result is set if and only if at least one of the corresponding bits in the converted operands is set).

Next

Created at: 2005-06-29 02:19:00 The text from WG14/N1124 is copyright © ISO