www.digitalmars.com         C & C++   DMDScript  

D - friendship?

reply "Matthew Wilson" <matthew stlsoft.org> writes:
Is it possible for one module (A) to declare friendship to another module
(B), such that B components can see inside the contents of A's classes, but
no other module can?
Sep 18 2003
parent "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <matthew stlsoft.org> wrote in message
news:bkdno1$1o5f$1 digitaldaemon.com...
 Is it possible for one module (A) to declare friendship to another module
 (B), such that B components can see inside the contents of A's classes,

 no other module can?

Currently, no.
Nov 01 2003