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(); --