private in class - or is it?

BCS ao at pathlink.com
Sat Oct 6 09:29:16 PDT 2007


Reply to Daniel,

> dominik wrote:
> 
>> ok, I'm really having problems with understanding this.. private
>> should be private, no? I didn't find anything related to this in
>> documentation. Apparently, private has no meaning - not the way as I
>> see it anyways. Works both with private keyword preceding variable or
>> private block {}
>> 
>> I'm using 2.005 - but works the same way in 1.x
>> 
> http://www.digitalmars.com/d/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***."
> 
> I think we need to make that part bold, bright red and flashing...

and 64pt font.

> 
> -- Daniel
> 
> :P
> 




More information about the Digitalmars-d-learn mailing list