Boost logo

Boost :

From: Aristid Breitkreuz (aribrei_at_[hidden])
Date: 2006-09-20 12:21:22


Am Mittwoch, den 20.09.2006, 11:22 -0400 schrieb David Abrahams:
> "Martin Bonner" <martin.bonner_at_[hidden]> writes:
>
> > David Abrahams writes:
> >
> >> Aristid Breitkreuz <aribrei_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk