Private and Package dynamic dispatch, implemented as a library template!

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Mar 30 04:30:45 PDT 2013


On 3/30/13, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> The full implementation: http://dpaste.dzfl.pl/08278225

Woops! It looks like it may have to become a mixin, since CanCall will
fail to call private methods. So maybe the API would look like:

mixin DynamicDispatch!(C, D, E) dynamic;


More information about the Digitalmars-d mailing list