digitalmars.D.learn - TickDuration depreciated, yet stopwatch not?
Joerg Joergonson <JJoergonson gmail.com> writes:
Stopwatch depends on TickDuration and TickDuration is depreciated yet Stopwatch isn't and hasn't been converted to MonoTime... makes sense?
Jun 21 2016
Jonathan M Davis via Digitalmars-d-learn writes:
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
Jun 22 2016