Boost logo

Boost :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-04-29 08:43:27

Dmitry Sychov wrote:

>Is it just because on some platforms sizeof(char) != 1 ?
>If yes we can change 'char' to object with size >= sizeof(T&)
>to avoid this.
There's no such platform that conforms to the C/C++ standards.
sizeof(char) is defined to be 1, and all other types are measured in
terms of this. The actual size of a char is given by CHAR_BITS.

Sebastian Redl

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