Replace std::duration types with implementations that throw exceptions on overflow

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.8
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Sharding 14 (05/13/16), Sharding 15 (06/03/16)
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The std::duration types, which underly stdx::duration, have undefined behavior on overflow and in some other situations that we can easily and inadvertently encounter. Since we do not require optimal arithmetic performance on our duration types, it would be better to replace them with implementations that throw on overflow.

            Assignee:
            Andy Schwerin
            Reporter:
            Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: