Article View: comp.std.c
Article #4729Re: size_t
From: Larry Jones
Date: Wed, 31 Jan 1996 16:03
Date: Wed, 31 Jan 1996 16:03
18 lines
1428 bytes
1428 bytes
In article <4eiua2$9u@engnews1.Eng.Sun.COM>, clamage@Eng.Sun.COM (Steve Clamage) writes: > I have always thought that type size_t must be defined as one of > the standard unsigned integer types: unsigned [char | short | int | long]. > I don't find wording in the ISO standard requiring that, however. > Sections 7.1.6 and 6.3.4 say it is an "unsigned integral type", a term > I don't find defined. "Integer type" is defined, but not "integral type". In response to a Defect Report, the Committee noted that the terms ``integer type'' and ``integral type'' are used interchangeably and should be considered synonymous. I believe they also expressed an intent to eliminate the inconsistency in the next revision. The response to another Defect Report noted that the list of integer types is exhaustive and may not be extended, thus size_t must indeed be one of the standard types. ---- Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH 45150-2789 513-576-2070 larry.jones@sdrc.com I don't think that question was very hypothetical at all. -- Calvin
Technical Details
Message-ID:
<4eo3sc$l14@info1.sdrc.com>Path:
arc1-ca.pugleaf.net!sdrc.com!thor!scjonesReferences:
<4eiua2$9u@engnews1.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sdrc.com!thor!scjones From: larry.jones@sdrc.com (Larry Jones) Newsgroups: comp.std.c Subject: Re: size_t Date: 31 Jan 1996 16:03:24 GMT Organization: SDRC Engineering Services Distribution: world Message-ID: <4eo3sc$l14@info1.sdrc.com> References: <4eiua2$9u@engnews1.Eng.Sun.COM> NNTP-Posting-Host: thor.sdrc.com Originator: scjones@thor