iso646.h is a standard C header file. It was added to the ISO C standard in 1995 with Amendment 1.

This header file provides macro substitutes for the operators that use characters not available in the ISO-646 character set. This helps avoid unreadable trigraphs and digraphs.

The macros are:

  • and expands to &&
  • and_eq expands to &=
  • bitand expands to &
  • bitor expands to |
  • compl expands to ~
  • not expands to !
  • not_eq expands to !=
  • or expands to ||
  • or_eq expands to |=
  • xor expands to ^
  • xor_eq expands to ^=

Log in or register to write something here or to contact authors.