Suggestion to improve phobos std.string.icmp function

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Jul 18 14:12:58 PDT 2006


"Lionello Lunesu" <lio at lunesu.remove.com> wrote in message 
news:e9isbu$11ta$1 at digitaldaemon.com...

> Beware that using a char to index into an array can cause access violation 
> if the char's negative. You'll get [-1] and such. cast it to a byte.

In D, character types are always unsigned. 





More information about the Digitalmars-d mailing list