DIP16: Transparently substitute module with package

Chris NS ibisbasenji at gmail.com
Fri Mar 30 21:23:32 PDT 2012


I'm pretty impressed with the idea, and look forward to its 
implementation, but I do have one question.  How does this affect 
(if at all) the implicit "friend" relationship of declarations?  
Since package "foo.bar" is treated as a single module, do the 
classes in "foo/bar/alpha.d" and "foo/bar/beta.d" have access to 
each other's private members?

I'm not sure whether I favor them losing or keeping their 
"friend" status.

----------
Chris NS


More information about the Digitalmars-d mailing list