Flat module import namespace causing collisions

James Miller james at aatch.net
Thu Feb 16 06:10:45 PST 2012

I'm not sure what you are talking about, maybe explaining the terms
and concreting down what you mean would help. Try posting a code
example, demonstrating what you mean, rather than just throwing words

There are various reasons why imports work they way they do, one of
which is that D is supposed to be friendly to C/C++ programmers, so
`import` behaves, on the surface, like `#include`.

If you want to only use the fully qualified names, just use `static
import`, as far as I can tell, that is exactly what you want.


James Miller

More information about the Digitalmars-d mailing list