private alias ... isn't [~OT]
David Medlock
noone at nowhere.com
Fri Jun 23 05:18:44 PDT 2006
Lionello Lunesu wrote:
> I, too, always create an "alias char[] string"! If only to prevent the
> barely readable: char[][char[]] string2string;
>
> And I think it wouldn't hurt if we include the following aliases in
> Phobos, Ares:
>
> alias char[] string;
> alias wchar[] wstring;
> alias dchar[] dstring;
>
> L.
>
> (And, perhaps, declare a tchar to be either char or wchar, and tstring a
> tchar[], much like windows' TCHAR and LPTSTR; indeed we'd get two built
> libraries, but I think the .lib on windows should always use wchar and
> the .a on linux should always use char.)
YES please.
-DavidM
More information about the Digitalmars-d
mailing list