SysTime.add!"days" missing
Adam D. Ruppe
destructionator at gmail.com
Mon Mar 17 09:33:32 PDT 2014
On Monday, 17 March 2014 at 16:16:20 UTC, Spacen Jasset wrote:
> int and days is a random method that happens to belong to
> Duration.
There's a separate function days
https://github.com/D-Programming-Language/druntime/blob/master/src/core/time.d#L928
that one belongs to Duration
https://github.com/D-Programming-Language/druntime/blob/master/src/core/time.d#L1414
this one doesn't.
In the 60.days instance, it is calling the second function.
More information about the Digitalmars-d-learn
mailing list