Spurious imports in Phobos ?

Trass3r un at known.com
Wed Nov 9 05:16:17 PST 2011


> Phobos contains a lot of templates and if a template isn't instantiated  
> it won't be compiled. Meaning there can be hidden compile errors if you  
> start to remove imports and they will not show until a template that  
> uses something from the import is instantiate.

Wouldn't it be possible/better then to move the imports into those  
template functions?


More information about the Digitalmars-d-learn mailing list