Defines alternative keywords for operators that use characters that are not available in some character sets.
The ISO/IEC 646 standard defines character sets based on the ASCII character set that replaces some punctuation characters with other characters to accommodate regional requirements. Some of these character sets do not have some of the characters that the C language uses in its operators and keywords. For example, the bitwise-and operator uses the ampersand, "&" , which is not available in some character sets. Use the preprocessor macros defined in iso646.h to use operators which are composed of characters that are available in all character sets specified by the ISO/IEC 646 standard.
| Macro | Operator |
|---|---|
| and | && |
| and_eq | &= |
| bitand | & |
| bitor | | |
| compl | ~ |
| not_eq | != |
| or | || |
| or_eq | |= |
| xor | ^ |
| xor_eq | ^= |