private in class - or is it?
dominik
aha at aha.com
Sat Oct 6 09:45:29 PDT 2007
"Frank Benoit" <keinfarbton at googlemail.com> wrote in message
news:fe8dbi$uqf$1 at digitalmars.com...
> http://www.digitalmars.com/d/attribute.html#ProtectionAttribute
>
> cite:
> Private means that only members of the enclosing class can access the
> member,
> or members and functions in the same module as the enclosing class.
I guess that's made for modularization - easing in between classes in same
module, makes sense now. I don't have enough experience to tell if that is
good or bad though. Thank you.
More information about the Digitalmars-d-learn
mailing list