From WikiChip
Difference between revisions of "c/iso646.h"
< c

m (Inject moved page Iso646.h - C to c/iso646.h)
(included `|=` (aka `or_eq`))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:<iso646.h> Header - C}}
+
{{c title|<iso646.h> Header}}{{C Standard Library}}
{{C Standard Library}}
 
 
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 <code>&</code>, <code>|</code>, <code>~</code>, <code>!</code>, and <code>^</code>. 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.
 
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 <code>&</code>, <code>|</code>, <code>~</code>, <code>!</code>, and <code>^</code>. 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.
  
Line 11: Line 10:
 
! Macro Name !! Description !! Since
 
! Macro Name !! Description !! Since
 
|-
 
|-
| [[Iso646.h/and - C|and]] || Expands to && || [[NA1]]
+
| {{C|Iso646.h/and|and}} || Expands to && || [[NA1]]
 
|-
 
|-
| [[Iso646.h/and_eq - C|and_eq]] || Expands to &= || [[NA1]]
+
| {{C|Iso646.h/and_eq|and_eq}} || Expands to &= || [[NA1]]
 
|-
 
|-
| [[Iso646.h/bitand - C|bitand]] || Expands to & || [[NA1]]
+
| {{C|Iso646.h/bitand|bitand}} || Expands to & || [[NA1]]
 
|-
 
|-
| [[Iso646.h/bitor - C|bitor]] || Expands to <nowiki>|</nowiki> || [[NA1]]
+
| {{C|Iso646.h/bitor|bitor}} || Expands to <nowiki>|</nowiki> || [[NA1]]
 
|-
 
|-
| [[Iso646.h/compl - C|compl]] || Expands to ~ || [[NA1]]
+
| {{C|Iso646.h/compl|compl}} || Expands to ~ || [[NA1]]
 
|-
 
|-
| [[Iso646.h/not - C|not]] || Expands to ! || [[NA1]]
+
| {{C|Iso646.h/not|not}} || Expands to ! || [[NA1]]
 
|-
 
|-
| [[Iso646.h/not_eq - C|not_eq]] || Expands to != || [[NA1]]
+
| {{C|Iso646.h/not_eq|not_eq}} || Expands to != || [[NA1]]
 
|-
 
|-
| [[Iso646.h/or - C|or]] || Expands to <nowiki>||</nowiki> || [[NA1]]
+
| {{C|Iso646.h/or|or}} || Expands to <nowiki>||</nowiki> || [[NA1]]
 
|-
 
|-
| [[Iso646.h/xor - C|xor]] || Expands to ^ || [[NA1]]
+
| {{C|Iso646.h/or_eq|or_eq}} || Expands to <nowiki>|=</nowiki> || [[NA1]]
 
|-
 
|-
| [[Iso646.h/xor_eq - C|xor_eq]] || Expands to ^= || [[NA1]]
+
| {{C|Iso646.h/xor|xor}} || Expands to ^ || [[NA1]]
 +
|-
 +
| {{C|Iso646.h/xor_eq|xor_eq}} || Expands to ^= || [[NA1]]
 
|}
 
|}
  
{{DEFAULTSORT:Iso646.h - C}}
+
{{DEFAULTSORT:Iso646.h}}
 
[[Category:C standard library]]
 
[[Category:C standard library]]
 
[[Category:Iso646.h - C]]
 
[[Category:Iso646.h - C]]

Latest revision as of 14:29, 1 April 2017

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[edit]

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