SysTime.add!"days" missing
Spacen Jasset
spacenjasset at mailrazer.com
Mon Mar 17 09:50:32 PDT 2014
On Monday, 17 March 2014 at 16:33:34 UTC, Adam D. Ruppe wrote:
> 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.
Thanks Adam, I see how the magic happens now.
More information about the Digitalmars-d-learn
mailing list