First Impressions
Lionello Lunesu
lio at lunesu.remove.com
Fri Sep 29 01:58:34 PDT 2006
I also ALWAYS create aliases for char[], wchar[], dchar[]... I DO wish
they would be included by default in Phobos.
alias char[] string;
alias wchar[] wstring;
alias dchar[] dstring;
Perhaps, using string instead of char[], it's more obvious that it's not
zero-terminated. I've seen D examples online that just cast a char[] to
char* for use in MessageBox and the like (which worked since it were
string constants.)
L.
More information about the Digitalmars-d
mailing list