We need an internal keyword.

12345swordy alexanderheistermann at gmail.com
Sun Oct 21 03:17:23 UTC 2018


So that classes can share some of their variables but not others 
in a module.

IE.

class A
{
internal int A; //This is shared in the module
private int B; // But not this.
}

No need to reintroduce the "Friend" feature from cpp.


More information about the Digitalmars-d mailing list