[Issue 19525] Duration is not usable with zero-arg std.algorithm.sum
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 28 13:09:06 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=19525
Seb <greeenify at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #3 from Seb <greeenify at gmail.com> ---
Reopened as the issue hasn't been fixed yet. Duration should work out of the
box with sum by e.g. checking whether .zero exists or specializing for the
duration type.
--
More information about the Digitalmars-d-bugs
mailing list