member function as template parameter workaround needed

bearophile bearophileHUGS at lycos.com
Thu Sep 13 16:25:43 PDT 2012


timotheecour:

>         //attempt#2
>         //also tried to just pass x=>a.fun2(x), but then 
> ParameterTypeTuple doesn't work with lambdas.

I think "x => a.fun2(x)" isn't an anonymous function, it's 
templated.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list