Skip to content

Bitwise Xor Assign Operator

IsaacShelton edited this page Mar 21, 2022 · 1 revision

^= Operator

The ^= operator is used for performing the bitwise-xor operation on two numeric types and storing the resulting value in the first.

x ^= 0x03

It can only be used as a statement, and the first operand must be mutable.

Clone this wiki locally