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
Unable to use class lambda - no matching function to call #289
Comments
I am using Lambda all the time. The issue is that you cannot capture "this" easily. I pass the this pointer in as a user argument. Here is the syntax I am using:
|
I happen to use this. You can point at any structure you want and interpret it any way you want. Ultimate flexibility. |
Thanks a lot! I was missing this!!! |
Describe the bug
Trying to use a lambda callback as in the README:
Getting an error:
Using PlatformIO and
s00500/ESPUI@^2.2.3
The text was updated successfully, but these errors were encountered: