lundi 3 août 2015

Converting callback from C++ to C++/CX

In code I am porting I have this function which takes function as an argument:

void doSomething(std::function<void(std::string)> callback)

Could you please tell me how to implement this function in C++/CX, how to convert std::function to C++/CX delegate and how to call the callback later on?

Thank you!

Aucun commentaire:

Enregistrer un commentaire