TickDuration deprecation

Jonathan M Davis newsgroup.d at jmdavisprog.com
Sun Nov 19 18:29:14 UTC 2017


On Sunday, November 19, 2017 17:56:37 Rumbu via Digitalmars-d wrote:
> Finally, you resolve the deprecation, but the compiler throws an
> error like this:
>
> core.time.dur!"usecs".dur (long length) is not callable using
> argument types (Duration)
>
> Based on the error above, how in the world can I deduce that I
> must use something like "total"?
>
> Note: I understood what happens, I'm just playing the devil's
> advocate here :)

I would expect you to go read the documentation for Duration if you don't
already know how to use Duration.

- Jonathan M Davis



More information about the Digitalmars-d mailing list