private attribute don't function?
Adam D. Ruppe
destructionator at gmail.com
Sat Oct 5 08:22:40 PDT 2013
http://dlang.org/attribute.html
"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. Private members cannot be overridden.
Private module members are equivalent to static declarations in C
programs. "
In D, private is only hidden to different modules. If it is in
the same module, they can see it anyway.
More information about the Digitalmars-d
mailing list