On Mon, 23 Mar 2015 22:39:27 +0000, rumbu wrote:

> It's working, but I don't like the &value thing, ref would be better.

alas.

you can write a complex mixin that will generate the appropriate 
templates for you, though, so you'll be able to do something like this:

mixin(MulticastDelegate!(`withRefInt`, `bool`, `char`, `ref int`));

but it will be error-prone and ugly. so the best thing is to stick with 
pointers.

Attachment: signature.asc
Description: PGP signature

Reply via email to