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

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

    • Server Development Platform
    • Fully Compatible
    • 157

      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@mongodb.com Juan Gu
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: