< C++ Programming < Programming Languages < C++ < Code < Keywords
and_eq is the bitwise and operator. The alternative writing is &.
example:
variable | bit | hex |
---|---|---|
a | 0011 | 3 |
b | 0110 | 6 |
a and_eq b | 0010 | 2 |
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.