8 Expressions [expr]

8.5 Compound expressions [expr.compound]

8.5.11 Bitwise exclusive OR operator [expr.xor]

exclusive-or-expression:
	and-expression
	exclusive-or-expression ^ and-expression
The usual arithmetic conversions are performed; the result is the bitwise exclusive OR function of the operands.
The operator applies only to integral or unscoped enumeration operands.