TickDuration.to's second template parameter
Kapps
opantm2+spam at gmail.com
Sat Apr 7 19:16:57 PDT 2012
On Saturday, 7 April 2012 at 20:59:48 UTC, Andrei Alexandrescu
wrote:
> Whenever I use TickDuration.to, I need to add the pesky second
> argument, e.g. TickDuration.to!("nsecs", uint). Would a default
> make sense there?
>
> Also, double doesn't work, although I sometimes could use that.
>
>
> Thoughts? Destroyers?
>
> Andrei
Isn't this what the TickDuration.msecs / seconds / etc properties
are for?
More information about the Digitalmars-d
mailing list