
20 Sep
2006
20 Sep
'06
4:21 p.m.
Am Mittwoch, den 20.09.2006, 11:22 -0400 schrieb David Abrahams:
"Martin Bonner" <martin.bonner@pitechnology.com> writes:
David Abrahams writes:
Aristid Breitkreuz <aribrei@arcor.de> writes:
You can't assume short is 16-bits (but that's more or less academic).
Academic or no, I'd love to hear your reasoning on that one.
"Don't assume type sizes" firstly usually holds true. Also, while /not/ owning a copy of the standard, I could not figure out a theoretical reason why short must not be longer than 16 bits. (Oh well.)
The standard is clear that short must be /at least/ 16 bits
Okay, that's all I needed to hear, thanks.
Maybe I should have clarified that I was talking about short not necessarily being /exactly/ 16 bits. Regards Aristid Breitkreuz