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?
to your account
Given the following sample code:
auto f = =mutable->int*
The compiler reports "address of stack memory associated with local variable 'i' returned" for the 'i' in the lambda. That warning would be legitimate for a plain function but not for a lambda.
Note that this bug appears similar to bug #16548 but it is not the same. Here, the variable is captured by value rather than by reference.
The text was updated successfully, but these errors were encountered:
No branches or pull requests