I've been looking at the c++ reference site, and I came across this article about the and_eq
keyword. This article said:
alternative operators: as an alternative for &=
about the and_eq
operator. I could not find anything online about the difference between and_eq
and &=
. Is it exactly the same as the &=
operator, or is there a difference? If there is a difference, when should I use each?