www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - What does protected mean?

reply Ald <aldarri_s yahoo.com> writes:
I was writing a module with several classes, and found out that classes in the
same module can access each other's private methods and even members.

Is this by design?  If so, then what is protected modifier for?  I have read
the manual, but didn't understand the difference.
Jul 04 2007
parent Ald <aldarri_s yahoo.com> writes:

Jul 04 2007