override(T)

Daniel Keep daniel.keep.lists at gmail.com
Sat Sep 26 07:55:23 PDT 2009



Jérôme M. Berger wrote:
> Daniel Keep wrote:
>> ...
>>
>> Why not go with what C# uses?
>>
>> class LotterySimulation : Lottery, Figure {
>>     override void Lottery.draw();
>>     override void Figure.draw();
>> }
>>
>> Just seems like a more obvious and natural place for it to me.  D
>> already uses this to disambiguate symbols in other places.
> 
>     Except that the first option could be extended to allow overriding
> several methods from the same interface at once:
> 
> ...
> 
>         Jerome

"Except"?  Which of my three statements does that apply to?  The first
and last are facts and the second is an opinion.



More information about the Digitalmars-d mailing list