From WikiChip
<iso646.h> Header - C
< c
Revision as of 13:29, 1 April 2017 by 50.89.179.189 (talk) (included `|=` (aka `or_eq`))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The <iso646.h> header is part of the standard library of the C programming language which provides a set of object-like macros as an alternative spelling for C operators that contain &, |, ~, !, and ^. This header was added in Normative Addendum 1 in order to provide support for international character sets that might not have these symbols. This header provides eleven such macros.


Macros

The header provides the following macro definitions:

Macro Name Description Since
and Expands to && NA1
and_eq Expands to &= NA1
bitand Expands to & NA1
bitor Expands to | NA1
compl Expands to ~ NA1
not Expands to ! NA1
not_eq Expands to != NA1
or Expands to || NA1
or_eq Expands to |= NA1
xor Expands to ^ NA1
xor_eq Expands to ^= NA1