Cumulative
Steve Teale
steve.teale at britseyeview.com
Tue Feb 25 03:04:23 PST 2014
On Tuesday, 25 February 2014 at 10:23:32 UTC, Steve Teale wrote:
> I'm writing a little example program that illustrates what I'm
> getting at, and I'll post it somewhere when I'm through.
>
OK, it's at britseyeview.com/cumulative.txt.
I think enforcement of the call to super.handleCommand() would
get most of the way down the road. More could be done if the
compiler inserted the super call, and maintained an implicit
class member equivalent to my 'cmdResult' that could be tested in
override implementations of handleCommand(). But I think that is
OTT.
Steve
More information about the Digitalmars-d
mailing list