From -9050242578170450759
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,f86cdbd4280bf4a1
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1994-10-17 04:10:26 PST
Newsgroups: comp.std.c++
Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!sgiblab!news.cygnus.com!news!jason
From: jason@cygnus.com (Jason Merrill)
Subject: Re: Bytes and Characters
In-Reply-To: tohoyn@janus.otol.fi's message of 14 Oct 1994 21:51:48 GMT
Content-Type: text/plain; charset=US-ASCII
Message-ID: <JASON.94Oct14170259@phydeaux.cygnus.com>
Sender: news@cygnus.com
Nntp-Posting-Host: phydeaux.cygnus.com
Organization: Cygnus Support, Mountain View, CA
References: <37muhk$9di@tethys.otol.fi>
Mime-Version: 1.0
Date: Sat, 15 Oct 1994 00:02:59 GMT
Lines: 11

>>>>> Tommi H|yn{l{nmaa <tohoyn@janus.otol.fi> writes:

> Currently, the type 'char' is used for bytes in C++.
> I think that there should be a separate type for characters and 
> bytes (numerical values).

There is.  'char' is used for character values, 'unsigned char' and 
'signed char' are used for bytes.  'char' is not the same type as either of
the other two.

Jason


