Do non-member functions improve encapsulation in D?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 20 13:36:48 PDT 2014


On 4/20/14, 12:11 AM, Lars T. Kyllingstad wrote:
> The fact that "private" really means "module private" in D means that
> any number of functions can break when a class/struct implementation
> changes.

No, only those in that module. There's no change. -- Andrei


More information about the Digitalmars-d mailing list