Summary: | Captured variable hide the parameter if they have the same name in Lambdas | ||
---|---|---|---|
Product: | gcc | Reporter: | koushik <kou4307> |
Component: | c++ | Assignee: | Ville Voutilainen <ville.voutilainen> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | ville.voutilainen, webrown.cpp |
Priority: | P2 | Keywords: | accepts-invalid, c++-lambda, wrong-code |
Version: | 4.7.1 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2013-06-03 00:00:00 | |
Bug Depends on: | |||
Bug Blocks: | 54367 |
Description
koushik
2013-05-28 18:34:55 UTC
Mine. Related: http://stackoverflow.com/questions/42088015 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79133 The resolution of Core Issue 2211 makes such code ill-formed. |