[phobos] phobos commit, revision 1919

Andrei Alexandrescu andrei at erdani.com
Fri Aug 27 11:07:16 PDT 2010

On 8/27/10 10:55 PDT, SHOO wrote:
> stopWatch looks like a function to stop a watch...

I agree.

> And also, I think default behavior of the StopWatch is AutoStart.no.
> The reason is because it's important that regulate time to start for
> time measurement.

This is effectively a necessity dictated by the limitation of struct 
default constructors. I don't think it's a big problem in this 
particular case; probably I would have defined things the same way even 
if default constructors were available.


More information about the phobos mailing list