
7 May
2007
7 May
'07
6:32 p.m.
"Peter Dimov" <pdimov@mmltd.net> wrote in news:001d01c790bf$1d844730$6407a80a@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.