March 13, 2015 [D-runtime] [D-Programming-Language/druntime] cb5254: Make TickDuration "to" freestanding | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/druntime Commit: cb525460829e6354f203b2c467dc6d58e6e24c0e https://github.com/D-Programming-Language/druntime/commit/cb525460829e6354f203b2c467dc6d58e6e24c0e Author: Matt Kline <matt@bitbashing.io> Date: 2015-03-11 (Wed, 11 Mar 2015) Changed paths: M src/core/time.d Log Message: ----------- Make TickDuration "to" freestanding This gives it the same semantics as all "normal" to functions in std.conv, allowing you to call it as to!Duration(tickDur) or in the current manner via UFCS. Less gotchas is better. Commit: c64aec7f8acaa7d79a0e112844690b8b52de2053 https://github.com/D-Programming-Language/druntime/commit/c64aec7f8acaa7d79a0e112844690b8b52de2053 Author: Martin Nowak <code@dawg.eu> Date: 2015-03-13 (Fri, 13 Mar 2015) Changed paths: M src/core/time.d Log Message: ----------- Merge pull request #1190 from mrkline/freestanding-DateTime-to Make TickDuration "to" a freestanding, non-member function Compare: https://github.com/D-Programming-Language/druntime/compare/c7f5b2cd595e...c64aec7f8aca |
Copyright © 1999-2021 by the D Language Foundation