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

Add [[nodiscard]] to ScopeGuard

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.11
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

            Assignee:
            ben.caimano Benjamin Caimano (Inactive)
            Reporter:
            ben.caimano Benjamin Caimano (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: