Crazy stuff
Jarrett Billingsley
kb3ctd2 at yahoo.com
Sun Apr 27 15:15:52 PDT 2008
"Simen Kjaeraas" <simen.kjaras at gmail.com> wrote in message
news:op.uaaga9ht1hx7vj at spill04.lan...
I'm just importing std.stdio. I think string is a compiler-defined alias,
but I
can't say whence I got the idea.
------------------------
string/wstring/dstring are defined in object.d, which is implicitly imported
from every module. So it might as well be defined by the compiler. In D1,
they alias to char[], wchar[], and dchar[]; in D2, invariant(char)[],
invariant(wchar)[], and invariant(dchar)[].
More information about the Digitalmars-d-learn
mailing list