🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1904

Re: true/false literal std question

#1904
From: mfinney
Date: Tue, 05 Sep 1995 05:01
26 lines
1590 bytes
In <425umg$n9b@news1.halcyon.com>, aitken@coho.halcyon.com (William E. Aitken) writes:
>	#define true (1||true) 

This approach had not occured to me (assuming that it works <g>).
Your idea for a definition of true (and its dual for false) is excellent
if the committe doesn't get the point.  This is the most useful idea
to come of the entire discussion -- barring the chance that the
discussion will get the idea across to the committe and they will
actually change the draft standard (perhaps with a wording such
as you suggested).

When I wrote the original post starting this thread I was hoping to
simply be told that the draft standard treated this correctly.
However, it started a looong thread where about half the people
want it treated properly and about half are appalled at the very
idea (don't ask me why, I guess they like programming in binary <g?).

Michael Lee Finney



---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <MATT.95Sep04210153@Austern>
Path: arc1-ca.pugleaf.net!newsxfer.itd.umich.edu!agate!agate!Matt
References: <4167na$nv9@engnews2.Eng.Sun.COM> <9508311315.ZM8754@jabba> <425umg$n9b@news1.halcyon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!newsxfer.itd.umich.edu!agate!agate!Matt
From: mfinney@inmind.com
Newsgroups: comp.std.c++
Subject: Re: true/false literal std question
Date: 05 Sep 1995 05:01:53 GMT
Organization: In Mind, Inc.
Approved: Matt@Austern
Message-ID: <MATT.95Sep04210153@Austern>
References: <4167na$nv9@engnews2.Eng.Sun.COM> <9508311315.ZM8754@jabba> <425umg$n9b@news1.halcyon.com>
Reply-To: mfinney@inmind.com
NNTP-Posting-Host: austern.hip.berkeley.edu