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
- sizeof(char) == 1 may yeald false rms
- Re: sizeof(char) == 1 may yeald false Mike Nordell
- Re: sizeof(char) == 1 may yeald false Aaron Lehmann
- Re: sizeof(char) == 1 may yeald false Andrew Dunbar
