Assign any event kind to a single templatized function ?

ag0aep6g via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 5 07:03:15 PDT 2016


On 09/05/2016 04:00 PM, ag0aep6g wrote:
> You can pass the delegate type itself by alias.
[...]
>     void handlef(F)(Parameters!F a){writeln(a);}

Don't know why I wrote "by alias". Clearly no alias there.


More information about the Digitalmars-d-learn mailing list