On Sat, Jun 02, 2001 at 08:14:07PM -0400, Dom Lachowicz wrote:
> > You can also add * sizeof(char_type) to the  normal UT_StringBuf
> > code too, just for completeness though sizeof(char) will == 1
>
> Only when char is not a two byte char.
>
> Do not assume char to be 1 byte ;),

No, DO assume sizeof(char) to be exactly equal to one. It's a requirement in
the ISO and ANSI standards.

/Mike


Reply via email to