Re: TickDuration depreciated, yet stopwatch not?

2016-06-22 Thread Jonathan M Davis via Digitalmars-d-learn
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



TickDuration depreciated, yet stopwatch not?

2016-06-21 Thread Joerg Joergonson via Digitalmars-d-learn
Stopwatch depends on TickDuration and TickDuration is depreciated 
yet Stopwatch isn't and hasn't been converted to MonoTime... 
makes sense?