-
-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed #704: Support for lambdas capturing structured bindings which binds to array or data member #705
Fixed #704: Support for lambdas capturing structured bindings which binds to array or data member #705
Conversation
…dings which binds to array or data member
Hello @flovent, thanks for reporting and fixing this issue! There is a typo in the file extension of the test result file Andreas |
@andreasfertig Thank you for your very quick feedback! Did you mean that it should be |
Hello @flovent
my pleasure!
Yes, Andreas |
@andreasfertig Testfile's name is updated. |
I think i find the problem here.... it should be Sorry for the typo again. |
Hello @flovent,
Sorry, I copied and pasted your answer without double-checking and started with the wrong extension myself. The result file name should be Andreas |
@andreasfertig I changed it to the right filename and confirm this testcase is passed on my local environment, it should be OK now. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #705 +/- ##
=======================================
Coverage 97.34% 97.34%
=======================================
Files 21 21
Lines 6659 6666 +7
=======================================
+ Hits 6482 6489 +7
Misses 177 177
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
BindingDecl
can only getVarDecl
fromgetHoldingVar
when they binds to tuple-like structures, we can get InitStyle directly from outsideDecompositionDecl
for three kinds of structured binding.for detaill of three kinds of structured binding, see
https://en.cppreference.com/w/cpp/language/structured_binding#:~:text=C%2B%2B26).-,Binding%20process,-A%20structured%20binding