Suggestion to improve phobos std.string.icmp function
Lionello Lunesu
lio at lunesu.remove.com
Tue Jul 18 23:57:23 PDT 2006
Jarrett Billingsley wrote:
> "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.
:-.
That's what you get, mixing D and C++ on a daily basis. I should have
known: I have the same problems with Romanian and Italian, mixing words,
causing confusion.
L.
More information about the Digitalmars-d
mailing list