Use SafeInt functions for MSVC overflow detection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Internal Code
    • Fully Compatible
    • Dev Tools 2019-07-01, Dev Tools 2019-08-26, Dev Tools 2019-09-09
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We can't use the signed specializations on MSVC2015 due to a typo in the library. That typo looks like it was fixed in MSVC2017 so we should try again after upgrading.

      Switching to SafeInt functions allows us to use templated overflow detection functions rather than supporting a fixed set of types, encoded into the function names, and providing an separate implementation for every one.

            Assignee:
            Billy Donahue
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: