|
Boost : |
From: Andy (atompkins_at_[hidden])
Date: 2007-05-07 14:32:11
"Peter Dimov" <pdimov_at_[hidden]> wrote in
news:001d01c790bf$1d844730$6407a80a_at_pdimov2:
> 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?
Andy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk