Names specified for <iso646.h>, “Verbal operators”
Name Description Notes Source Availability
and Logical AND operator L M + <iso646.h> C95 C99 C11
and_eq Bitwise AND assignment operator L M + <iso646.h> C95 C99 C11
bitand Bitwise AND operator L M + <iso646.h> C95 C99 C11
bitor Bitwise OR operator L M + <iso646.h> C95 C99 C11
compl Bitwise complement operator L M + <iso646.h> C95 C99 C11
not Logical NOT operator L M + <iso646.h> C95 C99 C11
not_eq Inequality operator L M + <iso646.h> C95 C99 C11
or Logical OR operator L M + <iso646.h> C95 C99 C11
or_eq Bitwise OR assignment operator L M + <iso646.h> C95 C99 C11
xor Bitwise XOR operator L M + <iso646.h> C95 C99 C11
xor_eq Bitwise XOR assignment operator L M + <iso646.h> C95 C99 C11

This header is available in C95, C99 and C11.

The header <iso646.h> defines several macros that expand to the following tokens:

Macro Expansion
not_eq !=
not !
and &&
or ||
compl ~
bitand &
and_eq &=
bitor |
or_eq |=
xor ^
xor_eq ^=

The Wikipedia article on C alternative tokens explains that some of the punctuation characters used for these operators may be difficult to type on some keyboards.


CHaR
Sitemap Supported
Site format updated 2024-06-05T22:37:07.391+0000
Data updated 1970-01-01T00:00:00.000+0000
Page updated 2022-06-17T21:43:05.000+0000