or_eq

From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Alternative Representations of Tokens (C++), Operators (C++)

Syntax

Description

The or_eq operator is an alternative representation of != (bitwise inclusive OR).

or_eq tests for logical equivalence or bitwise equality.

or_eq operates on two values. When the first value or the second value is 1, true is returned. When the values are 0, false is returned.

In order to use the not_eq operator, you need to check the Enable new operator names option (the -VM compiler switch, available on the Compatibility page of the Project > Options dialog box).