Ban implicit capture of `this` via `[=]` in lambda expressions

XMLWordPrintableJSON

    • Server Development Platform
    • Fully Compatible
    • 157
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The ask here is basically to remove `-Wno-deprecation` and fix the lambda problems that are a result of that. billy.donahue@mongodb.com 's comment is probably accurate about exactly what should be disabled.

      Quoting the same source this is what we are getting rid of.

      The implicit capture of *this when the capture default is = is deprecated.

            Assignee:
            Juan Gu (Inactive)
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: