base class protection

Daniel Keep daniel.keep.lists at gmail.com
Sat Jun 20 02:33:24 PDT 2009



qniol wrote:
> Hello!
> 
> What's "protection" here for?
> 
> class Duper : protection Super { ... }
> 
> for protection being either:
> private
> package
> public
> export
> 
> and Super being a class.

As far as I know, it doesn't *do* anything.

> C++'s intuition let me down. D 1.0/2.0 ref. too (I got accustomed to it).
> 
> thx for help!

You'll have to be more specific about ref for us to be of assistance.



More information about the Digitalmars-d mailing list