TickDuration depreciated, yet stopwatch not?

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 22 07:21:19 PDT 2016


On Tuesday, June 21, 2016 19:17:00 Joerg Joergonson via Digitalmars-d-learn 
wrote:
> Stopwatch depends on TickDuration and TickDuration is depreciated
> yet Stopwatch isn't and hasn't been converted to MonoTime...
> makes sense?

TickDuration does have a note in its documentation about how it's _going_ to
be deprecated, but it isn't deprecated yet - precisely because StopWatch has
not been deprecated yet. A replacement which uses MonoTime is in the works,
but there are issues with where to put it in Phobos, because putting it in
std.datetime as things stand won't work, because it would conflict with the
existing StopWatch. Plans are in place to sort that out, but until then,
StopWatch won't be deprecated and neither will TickDuration.

- Jonathan M Davis



More information about the Digitalmars-d-learn mailing list