On 30 May 2018 at 01:23, Jason Merrill <ja...@redhat.com> wrote: > On Tue, May 29, 2018 at 4:44 PM, Marek Polacek <pola...@redhat.com> wrote: >> [expr.prim.lambda.capture] p8 says "If a lambda-expression explicitly >> captures >> an entity that is not odr-usable or captures a structured binding (explicitly >> or implicitly), the program is ill-formed." > > That's a pretty recent change, and seems to be controversial, so I > think let's hold off on this patch for now.
Yep, I asked the bug to be suspended, and Jonathan did so. I very much intend to revert this particular change in the standard, or morph it so that capturing bindings is clearly well-formed.