mercredi 29 août 2018

How to pass a parameter to std::bind from a function

I am working on c++ 11.

I want to write a function funA in a class, which binds another function funB within the same class. And funB function is a parameter in the function funA. What could be the syntax of the funcA ? I tried using std::function func, but i am not able to compile. Please explain.

Thanks.

Aucun commentaire:

Enregistrer un commentaire