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

void AMQPQueue::addEvent( AMQPEvents_e eventType, int (*event)(AMQPMessage*)) only accepts static functions #87

Open
DimasVeliz opened this issue Aug 28, 2020 · 0 comments

Comments

@DimasVeliz
Copy link

IS there any possible way to pass a member function as a second argument? I have a class that contains AMQP, AMQP within their fields, as well as other member functions, but I want to benefit the value one of them by using the addEvent funtionality of the AQMPQueue.

Unfortunately, it only accepts static functions so the argument Im required to pass cannot be any of my class members. Any idea to solve that?

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