Article View: comp.sys.sgi.apps
Article #83Re: SGI's C++ compiler and the boolean type
From: Andrew Koenig
Date: Wed, 10 Apr 1996 13:08
Date: Wed, 10 Apr 1996 13:08
11 lines
661 bytes
661 bytes
In article <4kg6fv$h7k@nic.ftns.no> art@mother.idg.no writes: > And some argue that true should be -1, because then bitwise not works: > ~(true = -1) == (false = 0) > ~(false = 0) == (true = -1) ... and (3<4)==true fails. -- --Andrew Koenig ark@research.att.com
Technical Details
Message-ID:
<DpnDuH.6GJ@research.att.com>Path:
arc1-ca.pugleaf.net!in1.uu.net!allegra!alice!arkReferences:
<4kefm7$oao@ncar.ucar.edu> <4kg6fv$h7k@nic.ftns.no>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.apps,comp.lang.c++ Path: arc1-ca.pugleaf.net!in1.uu.net!allegra!alice!ark From: ark@research.att.com (Andrew Koenig) Subject: Re: SGI's C++ compiler and the boolean type Message-ID: <DpnDuH.6GJ@research.att.com> Organization: AT&T Research, Murray Hill NJ References: <4kefm7$oao@ncar.ucar.edu> <4kg6fv$h7k@nic.ftns.no> Date: Wed, 10 Apr 1996 13:08:41 GMT