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

Introduce MONGO_NOEXCEPT macro for labeling methods that mustn't throw.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

      Description

      The C++11 implementation will be noexcept and the legacy implementation will be throw (). For purposes currently of interest in the mongodb codebase, these have the same effect of having terminate() called at runtime if an exception bubbles out of them.

        Attachments

          Activity

            People

            Assignee:
            schwerin Andy Schwerin
            Reporter:
            schwerin Andy Schwerin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: