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

Provide explicitly noexcept unique_function

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch

      We can detect noexcept functions at compile time using the noexcept() operator. This means we can combine that with constexpr-if to make a version of unique_function that promises to always be noexcept. This is useful for situations like Future::getAsync().

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: