Alternative Operators [C++ Reference]
Keywords: alternative_operators
Date: 2009-09-14T12:06:37-0700

[[Alternative Operators]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## Alternative Operators

The C++ standard defines several alternative tokens for operators which may contain characters that do not exist on some keyboards. Most compilers only support these keywords through command line switches or extra header files (e.g. <ciso646>):

Alternative | Primary
--- | ---
and | &&
and_eq | &=
bitand | &
bitor | |
compl | ~
not | !
not_eq | !=
or | ||
or_eq | |=
xor | ^
xor_eq | ^=

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •