RFC: Adding an alternative dispatch mechanism

Simen kjaeraas simen.kjaras at gmail.com
Fri Oct 1 15:36:05 PDT 2010


Austin Hastings <ah08010-d at yahoo.com> wrote:

> Comments?

To me, this sounds like it could be done with alias this[1] and
references and maybe a pinch of opDispatch[2] (though I am no
longer sure why I thought of the latter).

If I'm wrong, would you care to elucidate?

[1]: http://digitalmars.com/d/2.0/class.html#AliasThis
[2]: http://digitalmars.com/d/2.0/operatoroverloading.html#Dispatch

-- 
Simen


More information about the Digitalmars-d mailing list