On Monday, 3 June 2013 at 22:39:39 UTC, Ali Çehreli wrote:
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

It seems exactly what we are looking for. Thx.

Reply via email to