P2034

Partially Mutable Lambda Captures

Latest is R10R9

`const` and `mutable` extend cleanly to lambda captures. The design is easy to implement, follows the language’s direction, and matches the common model of a lambda as shorthand for an object of a callable struct:

Authors
Ryan McDougall, Lakshay Garg
Mailing
2026-09
Doc date
2026-09-20
Audience
EWGCWG

Revision history

  1. 2026-10
    R10 EWGCWG

    Partially Mutable Lambda Captures

  2. 2026-09
    R9 Selected (shown above)
  3. 2026-07
    R8 EWGCWG

    Partially Mutable Lambda Captures

  4. 2026-07
    R7 EWG

    Partially Mutable Lambda Captures

  5. 2026-04
    R6 EWG

    Partially Mutable Lambda Captures