import foo vs. private import foo

Hasan Aljudy hasan.aljudy at gmail.com
Tue Jan 9 23:09:44 PST 2007



jicman wrote:
> Greetings!
> 
> A few months ago, there was a discussion in the newsgroup about
> making all imports private.  Meaning that,
> 
> import foo;
> 
> would be treated by the compiler as,
> 
> private import foo;
> 
> Am I way off base?
> 
> thanks,
> 
> jic

The suggestion was accepted, imports are now private by default.


More information about the Digitalmars-d-learn mailing list