🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Stuff C++ needs

#2938
From: Jerry Coffin
Date: Thu, 14 Dec 1995 20:24
22 lines
1375 bytes
tony@online.tmx.com.au (Tony Cook) wrote:

[ ... ] 
>Isn't CHAR_BITS (in limits.h) required to be at least 8 (with the
>obvious implication that char is at least 8 bits)?

Yes.  (or more accurately, it's CHAR_BIT, but...)  Anyhow, there's more
than an implication involved.  The C standard specifically says "number
of bits for the smallest object that is not a bit-field"...
    Later,
    Jerry.

/* I can barely express my own opinions; I certainly can't
 * express anybody else's.
 *
 * The universe is a figment of its own imagination.
 */


[ 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: <4apug4$k5v@natasha.rmii.com>
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
References: <4a792a$ghm@bcarh8ab.bnr.ca> <4a7do9$itd@engnews1.eng.sun.com> <DJK5JB.Fw3@online.tmx.com.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
From: jcoffin@rmii.com (Jerry Coffin)
Newsgroups: comp.std.c++
Subject: Re: Stuff C++ needs
Date: 14 Dec 1995 20:24:08 GMT
Organization: TAEUS
Approved: clamage@eng.sun.com (comp.std.c++)
Message-ID: <4apug4$k5v@natasha.rmii.com>
References: <4a792a$ghm@bcarh8ab.bnr.ca> <4a7do9$itd@engnews1.eng.sun.com> <DJK5JB.Fw3@online.tmx.com.au>
NNTP-Posting-Host: taumet.eng.sun.com
Content-Type: text
X-Nntp-Posting-Host: slip8146.rmii.com
X-Newsreader: Forte Free Agent 1.0.82
Content-Length: 546
X-Lines: 18
Originator: clamage@taumet