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

Add [[nodiscard]] to ScopeGuard

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.11
    • None
    • None
    • Fully Compatible
    • Service Arch 2019-05-06

    Description

      Our ScopeGuard class can easily become nodiscard to improve our correctness. In addition, its dtor method can now rely on noexcept dtor guarantees.

      Attachments

        Activity

          People

            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: