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

Use [[nodiscard]] for MONGO_WARN_UNUSED_RESULT_CLASS on GCC>=7

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • Platforms 2018-02-26, Platforms 2018-03-12

      g++7 added support for [[nodiscard]] with the semantics we want. Doing this will make my work on Future easier.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: