Commit ccca93b5 authored by Richard Smith's avatar Richard Smith
Browse files

Don't allow structured binding declarations to decompose a

lambda-expression's captures.

The built-in structured binding rules for classes require that all
fields can be accessed by name, and the fields introduced for lambda
captures are unnamed, so decomposing a capturing lambda is ill-formed.
parent 1b5baa42
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment