MSDN说,x&=y等价于 x=x&y. 整型时&运算符,进行位运算。 bool类型时,&运算符,当两边结果都为ture时,结果才为true. 转载于:https://www.cnblogs.com/xcong/p/3629642.html