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

Reply via email to