Boost logo

Boost :

From: Andy (atompkins_at_[hidden])
Date: 2007-05-07 14:32:11

"Peter Dimov" <pdimov_at_[hidden]> wrote in

> Andy wrote:
>>> * The dependency on uint8_t is unnecessary; the underlying type
>>> should be unsigned char. There is no need to insist on exactly 8
>>> bits.
>> Ok. If unsigned char is more than 8 bits then sizeof(guid) would be
>> larger. Maybe this is not an issue.
> If unsigned char is more than 8 bits uint8_t will not be defined.
> unsigned char is the smallest type; its sizeof() is always 1.

Thanks! I didn't know that. Could unsigned char be less than 8 bits?
Does boost provide uint8_t just to be complete with uint?_t types?


Boost list run by bdawes at, gregod at, cpdaniel at, john at