import package.*

Ary Manzana ary at esperanto.org.ar
Wed Oct 10 03:12:41 PDT 2007


Alexander Panek escribió:
> On Wed, 10 Oct 2007 12:08:55 +0200
> Yaga-Shura <Yaga-Shura at yashu.de> wrote:
> 
>> I'm working for some days now with DMD 2. My question is: is there
>> any way to include all modules that are in one package? e.g.:
> 
> I think this question has been raised /so/ often, that you should find
> something in both, d.D.learn and d.D, newsgroups about it.
> 
> Short answer: package/all.d publically importing all modules you want.
> 

I also see a downside as to how DMD is implemented: when an import is 
found, it's module is parsed. So if you had .*, all the modules in that 
package would need to be parsed...



More information about the Digitalmars-d mailing list