Frequent cannot deduce function from argument types

2015-10-16 Thread Edwin van Leeuwen via Digitalmars-d-learn
Just wondering if anyone has any tips on how to solve/avoid "cannot deduce function from argument types" when relying on template programming. I run into these problems all the time. Current one was when I tried: ``` auto ys = NumericLabel(groupedAes.front.map!((t)=>t.y)); ``` NumericLabel

Re: Frequent cannot deduce function from argument types

2015-10-16 Thread John Colvin via Digitalmars-d-learn
On Friday, 16 October 2015 at 15:48:59 UTC, Edwin van Leeuwen wrote: Just wondering if anyone has any tips on how to solve/avoid "cannot deduce function from argument types" when relying on template programming. I run into these problems all the time. Current one was when I tried: ``` auto

Re: Frequent cannot deduce function from argument types

2015-10-16 Thread John Colvin via Digitalmars-d-learn
On Friday, 16 October 2015 at 15:48:59 UTC, Edwin van Leeuwen wrote: Just wondering if anyone has any tips on how to solve/avoid "cannot deduce function from argument types" when relying on template programming. I run into these problems all the time. Current one was when I tried: ``` auto