Nested class defined in another file
Ali Çehreli
acehreli at yahoo.com
Mon Jun 3 15:39:39 PDT 2013
On 06/03/2013 03:20 PM, Bruno Deligny wrote:
> I began to separate them by hand by passing a parent reference but it's
> ugly because i need to make the parent members accessible in public to
> have acces. Is there any "friend" like in C++ to keep them private to
> others?
Have you considered the 'package' access specifier? It allows access to
the modules of the same package but not to others.
Ali
More information about the Digitalmars-d-learn
mailing list