Why I can't pass to datetime.benchmark function with parameters?

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 23 11:52:30 PDT 2016


>In the third example you're providing an integer as the function 
>to benchmark, and foo is never mentioned.

My error. I mean it should be:
auto r = benchmark!(foo(4))(1);

But thanks for answer!


More information about the Digitalmars-d-learn mailing list