base class protection

qniol qniol at o2.pl
Sat Jun 20 01:51:56 PDT 2009


Hello!

What's "protection" here for?

class Duper : protection Super { ... }

for protection being either:
private
package
public
export

and Super being a class.

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

thx for help!





More information about the Digitalmars-d mailing list