From -3724608923549250856
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,c6421e9689b6c205
X-Google-Attributes: gidf78e5,public
From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: How can I tell if my compiler supports the bool type?
Date: 1996/06/17
Message-ID: <4q4tgb$duq@mulga.cs.mu.OZ.AU>#1/1
X-Deja-AN: 160724271
references: <4pnpmp$14oq@ausnews.austin.ibm.com> <u9g27zcnrl.fsf@yorick.cygnus.com> <m0uUb35-000OjNC@sqarc.sq.com> <31C2996F.73AE@millersystems.com>
x-original-date: 18 Jun 1996 00:33:15 GMT
organization: Comp Sci, University of Melbourne
x-auth: PGPMoose V1.1 PGP comp.std.c++
newsgroups: comp.std.c++
originator: austern@isolde.mti.sgi.com


Terry Thorsen <terry@millersystems.com> writes:

>Shame on stl implementors for not at least capitalizing bool.

Well, to be fair it wasn't the STL implementors (Stepanov and Lee et al)
who added `bool'; although both STL and `bool' are part of draft
standard C++, they were put there in quite separate proposals by
different people.  I believe the names `bool', `true', and `false' were
chosen ahead of other names (such as BOOLEAN, Boolean, boolean, BOOL,
Bool, TRUE, FALSE, and so forth) for two reasons: partly for
consistency with other C and C++ keywords, which are all lowercase, but
also because these names were (contrary to what you implied) in less
frequent use than the alternatives.

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu 
]



