import concerns (was Re: Historical language survey)

Walter Bright newshound at digitalmars.com
Fri Jul 7 23:11:19 PDT 2006


kris wrote:
> So, in D, what does private actually mean? The verbose version if you 
> wouldn't mind, with all known corner-cases noted?
> 
> I think the full explanation would help a lot, since it's often easier 
> to remember the things one should not do, rather than those one should.

It means the same thing as in C++. It should give an error if you try to 
access a private member in another module - but the symbol is still found.



More information about the Digitalmars-d mailing list