"cannot deduce function from argument types" issue.

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Feb 10 01:41:58 PST 2015


ted:

> ... where you say 'More DRY' above, are you referring to

I was referring to both, but mostly to the typeof. It's more DRY 
(http://en.wikipedia.org/wiki/Don%27t_repeat_yourself ). You are 
stating only once the type of the return variable. This is less 
bug-prone.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list