Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2006-01-12 10:35:01


Chris Cleeland wrote:

> Good question; I know that sizeof(char) == sizeof(unsigned char) == 1, but I
> don't know that it's guarantee anywhere that something that has a sizeof==1
> is exactly 8 bits.

No, that's not guaranteed. There are implementations with char types
consisting of more than 8 bit (not necessarily old architectures).

HTH,
m
Send instant messages to your online friends http://au.messenger.yahoo.com


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