Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47064

Use std::invoke_result instead of std::result_of

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Security 2020-04-06
    • 0

      std::result_of is deprecated in C++ 17 and removed in C++ 20. The new similar function is std::invoke_result.

      Reference:
      https://en.cppreference.com/w/cpp/types/result_of#Notes

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: