operator unidentified

What is |= operator in the following definition

#define xConfirmPara(a,b) check_failed |= confirmPara(a,b)
It's the "bitwise or" assignment operator.

a |= b; is the same as a = a | b;

bitwise OR is explained here:
http://v2.cplusplus.com/forum/beginner/72705/#msg387899
Last edited on
Topic archived. No new replies allowed.