Skip to content
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

Use std::function instead of raw function pointers #25

Open
PhilippMolitor opened this issue Jun 24, 2024 · 0 comments
Open

Use std::function instead of raw function pointers #25

PhilippMolitor opened this issue Jun 24, 2024 · 0 comments

Comments

@PhilippMolitor
Copy link

Hey, thanks for the amazing library!
I really want to use this in a modern codebase with lots of classes, but the DataFunction class does not accept a function or data from my class members, as it is typed with a raw function pointer.
I would love to see std::function being used instead on supported platforms (which is most of the modern ones, like RP2040 and ESP32).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant