You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically the code should capture both the local variable a and a pointer to this, but in the generated code, even though a is declared it is not initialized by the constructor of the lambda structure.
The text was updated successfully, but these errors were encountered:
Hi, I was playing around with this very neat tool, and I stumbled upon a scenario where it doesn't seem to produce the right result.
https://cppinsights.io/s/bb1d1c12
Basically the code should capture both the local variable
a
and a pointer tothis
, but in the generated code, even thougha
is declared it is not initialized by the constructor of the lambda structure.The text was updated successfully, but these errors were encountered: