We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code crashed https://cppinsights.io, tried C++11, C++14, C++17 and C++2a
#include <iostream> #include <functional> class EventContainer { private: int val = 1234; std::function<void()> something = [=]() { std::cout << this->val; }; }; int main() { return 0; }
The text was updated successfully, but these errors were encountered:
Hello @fadi-botros,
thank you for reporting that. I will look into it. Probably another case of a lambda which I haven't thought about yet.
Andreas
Sorry, something went wrong.
b852329
Merge pull request #210 from andreasfertig/fixIssue205
e7675ae
Fixed #205: Make lambdas as in class initializer work.
No branches or pull requests
This code crashed https://cppinsights.io, tried C++11, C++14, C++17 and C++2a
The text was updated successfully, but these errors were encountered: