override(T)

"Jérôme M. Berger" jeberger at free.fr
Sun Sep 27 00:37:28 PDT 2009


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

	Obviously, it applies to the first, which isn't a fact but a question.

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20090927/cf4472a2/attachment.pgp>


More information about the Digitalmars-d mailing list