Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment