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

Do not rely on the value of __cplusplus for inclusion of void_t

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.6
    • Fix Version/s: 3.5.6
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platforms 2017-04-17

      Description

      visual studio reports 199711L as its __cplusplus version, even when we are running C++ 14. Do not make decisions based on this macro for the inclusion of C++14 features.

      There is a bug report for this that was closed as "deferred" but not actually fixed, it seems:
      https://connect.microsoft.com/VisualStudio/feedback/details/763051/a-value-of-predefined-macro-cplusplus-is-still-199711l

        Attachments

          Activity

            People

            Assignee:
            samantha.ritter Samantha Ritter
            Reporter:
            samantha.ritter Samantha Ritter
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: