[D-runtime] [D-Programming-Language/druntime] cb5254: Make TickDuration "to" freestanding

GitHub via D-runtime d-runtime at puremagic.com
Fri Mar 13 14:50:21 PDT 2015

  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: cb525460829e6354f203b2c467dc6d58e6e24c0e
  Author: Matt Kline <matt at 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
  Author: Martin Nowak <code at 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

More information about the D-runtime mailing list