Cumulative

Steve Teale steve.teale at britseyeview.com
Wed Feb 26 08:05:19 PST 2014


On Wednesday, 26 February 2014 at 13:30:15 UTC, Leandro Motta 
Barros wrote:
> Hello,
>
> I'm coming late to the discussion, but I believe that you can 
> use the
> following idiom to achieve the same results in a different way:
>>
Yes we went through that, if you go back a page you'll find a 
post I did that makes the thing work better using a class 
variable in the base class that is an array of delegates.

That way you don't have to do super, super, super back to root, 
you just have to iterate over the delegates until you find one 
that accepts the command.

It does just what I wanted to do in the first place without 
compiler assistance
  ;=).

Steve


More information about the Digitalmars-d mailing list