import foo vs. private import foo

Brad Roberts braddr at puremagic.com
Tue Jan 9 21:19:19 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 change logs make for a good starting point to answer this sort of 
question:

     http://www.digitalmars.com/d/changelog.html#new0163

Later,
Brad


More information about the Digitalmars-d-learn mailing list