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

DeinitializerContext needs a default constructor

    • Service Arch
    • ALL

      https://github.com/mongodb/mongo/blob/ade18a70ec691e327b7efa800ad5ea56d51c9ac5/src/mongo/base/initializer.cpp#L175 is currently relying on the broken rule about aggregate initialization allowing default construction for types that aren't actually default constructible (see https://wg21.link/p1008) and that loophole is going away.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: