DeinitializerContext needs a default constructor

XMLWordPrintableJSON

    • Service Arch
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            [DO NOT USE] Backlog - Service Architecture
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: