A collection of DIPs

via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 12 07:04:21 PDT 2015


On Saturday, 12 September 2015 at 13:48:14 UTC, ZombineDev wrote:
> That's what the `package` access modifier is for.

Then you would have to be in the same package, and that is rather 
broad?

The advantage of "friend" is that you can pinpoint what might be 
a source for trouble when debugging, it is narrow.



More information about the Digitalmars-d mailing list