and_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 and_eq operator is an alternative representation of the &= assignment operator (bitwise AND).

The value of the first operand is added to the value of the second operand, and the result is stored in the first operand.

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

See Also