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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • 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

            schwerin@mongodb.com Andy Schwerin
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: