Article View: comp.std.c++
Article #1764Re: true/false literal std question
From: Brian T. Hill
Date: Mon, 21 Aug 1995 17:51
Date: Mon, 21 Aug 1995 17:51
24 lines
1158 bytes
1158 bytes
Distribution: Who wants to use "true" or "false" in the preprocessor anyway? What are you going to do: #if true ... ? In setting compiler directives, what's so bad about 1 and 0 (they generally tend to be somewhat isolated and the point should be clear anyway): #define qDebug 1 #define qUseOptimizations 0 and so on. --------------------------- Brian T. Hill bhil@strata3d.com http://park.uvsc.edu/~bhil/ --- [ 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.95Aug21105142@physics2.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!128.32.155.1!mattReferences:
<4167na$nv9@engnews2.Eng.Sun.COM> <416oev$71f@mujibur.inmind.com> <417kfc$1q3@engnews2.Eng.Sun.COM> <41881c$ihs@mujibur.inmind.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!128.32.155.1!matt From: "Brian T. Hill" <bhil@strata3d.com> Newsgroups: comp.std.c++ Subject: Re: true/false literal std question Date: 21 Aug 1995 17:51:42 GMT Organization: Strata, Inc. Approved: matt@physics2.Berkeley.EDU (Matt Austern) Message-ID: <MATT.95Aug21105142@physics2.Berkeley.EDU> References: <4167na$nv9@engnews2.Eng.Sun.COM> <416oev$71f@mujibur.inmind.com> <417kfc$1q3@engnews2.Eng.Sun.COM> <41881c$ihs@mujibur.inmind.com> NNTP-Posting-Host: physics2.berkeley.edu