[Issue 13724] std.datetime.timeIt

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Dec 17 02:07:55 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13724

--- Comment #6 from bearophile_hugs at eml.cc ---
What about supporting both kinds of use (if you don't give an argument it
returns the timing):

37.fibonacci.timeIt.writeln;
Duration t;
37.fibonacci.timeIt(t).foo();

--


More information about the Digitalmars-d-bugs mailing list