[Previous] [Contents] [Next]

<iso646.h>

[Added with Amendment 1]


Include the standard header <iso646.h> to provide readable alternatives to certain operators or punctuators. The standard header <iso646.h> is available even in a freestanding implementation.

#define and && [keyword in C++]
#define and_eq &= [keyword in C++]
#define bitand & [keyword in C++]
#define bitor | [keyword in C++]
#define compl ~ [keyword in C++]
#define not ! [keyword in C++]
#define not_eq != [keyword in C++]
#define or || [keyword in C++]
#define or_eq |= [keyword in C++]
#define xor ^ [keyword in C++]
#define xor_eq ^= [keyword in C++]

and

#define and && [keyword in C++]

The macro yields the operator &&.

and_eq

#define and_eq &= [keyword in C++]

The macro yields the operator &=.

bitand

#define bitand & [keyword in C++]

The macro yields the operator &.

bitor

#define bitor | [keyword in C++]

The macro yields the operator |.

compl

#define compl ~ [keyword in C++]

The macro yields the operator ~.

not

#define not ! [keyword in C++]

The macro yields the operator !.

not_eq

#define not_eq != [keyword in C++]

The macro yields the operator !=.

or

#define or || [keyword in C++]

The macro yields the operator ||.

or_eq

#define or_eq |= [keyword in C++]

The macro yields the operator |=.

xor

#define xor ^ [keyword in C++]

The macro yields the operator ^.

xor_eq

#define xor_eq ^= [keyword in C++]

The macro yields the operator ^=.


See also the Table of Contents and the Index.

Copyright © 1989-2002 by P.J. Plauger and Jim Brodie. All rights reserved.

[Previous] [Contents] [Next]