136 lines
3.7 KiB
HTML
136 lines
3.7 KiB
HTML
<HTML><HEAD><TITLE><iso646.h></TITLE></HEAD><BODY BGCOLOR="#FFFFFF">
|
|
|
|
<H1><A NAME="<iso646.h>"><CODE><iso646.h></CODE></A>
|
|
[Added with
|
|
<A HREF="lib_over.html#Amendment 1" tppabs="http://ccs.ucsd.edu/c/lib_over.html#Amendment 1">Amendment 1</A>]</H1><HR>
|
|
|
|
<P><CODE>
|
|
#define <A HREF="#and"><B>and</B></A>
|
|
&& <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#and_eq"><B>and_eq</B></A>
|
|
&= <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#bitand"><B>bitand</B></A>
|
|
& <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#bitor"><B>bitor</B></A>
|
|
| <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#compl"><B>compl</B></A>
|
|
~ <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#not"><B>not</B></A>
|
|
! <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#not_eq"><B>not_eq</B></A>
|
|
!= <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#or"><B>or</B></A>
|
|
|| <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#or_eq"><B>or_eq</B></A>
|
|
|= <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#xor"><B>xor</B></A>
|
|
^ <B>[keyword in C++]</B><BR>
|
|
#define <A HREF="#xor_eq"><B>xor_eq</B></A>
|
|
^= <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>Include the standard header <B><CODE><iso646.h></CODE></B>
|
|
to provide readable alternatives to certain operators or punctuators.
|
|
The standard header <CODE><iso646.h></CODE> is available even in a
|
|
<A HREF="lib_over.html#freestanding implementation" tppabs="http://ccs.ucsd.edu/c/lib_over.html#freestanding implementation">
|
|
freestanding implementation</A>.</P>
|
|
|
|
<H2><A NAME="and"><CODE>and</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>and</B> && <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>&&</CODE>.</P>
|
|
|
|
<H2><A NAME="and_eq"><CODE>and_eq</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>and_eq</B> &= <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>&=</CODE>.</P>
|
|
|
|
<H2><A NAME="bitand"><CODE>bitand</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>bitand</B> & <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>&</CODE>.</P>
|
|
|
|
<H2><A NAME="bitor"><CODE>bitor</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>bitor</B> | <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>|</CODE>.</P>
|
|
|
|
<H2><A NAME="compl"><CODE>compl</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>compl</B> ~ <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>~</CODE>.</P>
|
|
|
|
<H2><A NAME="not"><CODE>not</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>not</B> ! <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>!</CODE>.</P>
|
|
|
|
<H2><A NAME="not_eq"><CODE>not_eq</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>not_eq</B> != <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>!=</CODE>.</P>
|
|
|
|
<H2><A NAME="or"><CODE>or</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>or</B> || <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>||</CODE>.</P>
|
|
|
|
<H2><A NAME="or_eq"><CODE>or_eq</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>or_eq</B> |= <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>|=</CODE>.</P>
|
|
|
|
<H2><A NAME="xor"><CODE>xor</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>xor</B> ^ <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>^</CODE>.</P>
|
|
|
|
<H2><A NAME="xor_eq"><CODE>xor_eq</CODE></A></H2>
|
|
|
|
<P><CODE>
|
|
#define <B>xor_eq</B> ^= <B>[keyword in C++]</B>
|
|
</CODE></P>
|
|
|
|
<P>The macro yields the operator <CODE>^=</CODE>.</P>
|
|
|
|
<HR>
|
|
<P>See also the
|
|
<B><A HREF="index.html#Table of Contents" tppabs="http://ccs.ucsd.edu/c/index.html#Table of Contents">Table of Contents</A></B> and the
|
|
<B><A HREF="_index.html" tppabs="http://ccs.ucsd.edu/c/_index.html">Index</A></B>.</P>
|
|
|
|
<P><I>
|
|
<A HREF="crit_pb.html" tppabs="http://ccs.ucsd.edu/c/crit_pb.html">Copyright</A> © 1989-1996
|
|
by P.J. Plauger and Jim Brodie. All rights reserved.</I></P>
|
|
|
|
</BODY></HTML>
|