🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Stuff C++ needs

#2924
From: Tony Cook
Date: Thu, 14 Dec 1995 04:52
14 lines
1138 bytes
Steve Clamage (clamage@Eng.Sun.COM) wrote:
: In C and C++, the size of a char or a byte is always implementation-defined,
: and neither is required to be exactly 8 bits. A char or a byte could have more
: (or fewer) than 8 bits.

Isn't CHAR_BITS (in limits.h) required to be at least 8 (with the
obvious implication that char is at least 8 bits)?
-- 
        Tony Cook - tony@online.tmx.com.au
                    100237.3425@compuserve.com

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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
From: tony@online.tmx.com.au (Tony Cook)
Newsgroups: comp.std.c++
Subject: Re: Stuff C++ needs
Date: 14 Dec 1995 04:52:10 GMT
Organization: Home
Approved: clamage@eng.sun.com (comp.std.c++)
Message-ID: <DJK5JB.Fw3@online.tmx.com.au>
References: <4a792a$ghm@bcarh8ab.bnr.ca> <4a7do9$itd@engnews1.eng.sun.com>
NNTP-Posting-Host: taumet.eng.sun.com
X-Newsreader: TIN [version 1.2 PL2]
Originator: clamage@taumet