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

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

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

      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.

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

              Created:
              Updated:
              Resolved: