dmd 1.058 and 2.043 release
bearophile
bearophileHUGS at lycos.com
Fri Apr 9 20:03:17 PDT 2010
BCS:
> IIRC, all that does is make anything that imports you, import that as well.
> It doesn't do anything to the names.
I meant to create a module named "foo" with inside:
module foo;
version (linux) public import foo_linux;
version (Windows) public import foo_win;
The module system has numerous holes (that Walter will need to take a look at, because three of them alone cover almost 10% of all bugzilla votes), so this is not going to work perfectly, but now if you import foo you have available all the names inside foo_linux and foo_win.
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list