base class protection

Frank Benoit keinfarbton at googlemail.com
Sat Jun 20 09:39:15 PDT 2009


Daniel Keep schrieb:
> 
> 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.

As far as I know, it *does* break compatibility with "Object".
http://d.puremagic.com/issues/show_bug.cgi?id=177



More information about the Digitalmars-d mailing list