protection for superclass

Brad Roberts braddr at puremagic.com
Sat May 6 21:45:05 PDT 2006


On Sun, 7 May 2006, Jarrett Billingsley wrote:

> "Frank Benoit" <keinfarbton at nospam.xyz> wrote in message 
> news:e3j83d$185s$1 at digitaldaemon.com...
> > If you use the class in the same module, you have always access to every
> > members. Even the private ones. You can only see this, if you place the
> > main in a seperate module.
> 
> I got it now.. that's really strange.  And undocumented. 

Actually, it is documented:

    http://www.digitalmars.com/d/attribute.html

Read the secton 'Protection Attribute'.

Later,
Brad



More information about the Digitalmars-d mailing list