mercredi 19 mai 2021

How to implement something like std::apply in C++11?

Is there a way to implement std::apply in c++11?

I have a std::tuple<Args...> myTuple and a std::function<void(const Args&...)> myFunction

How can I invoke myFunction and pass it the contents of myTuple as arguments in C++11?

Aucun commentaire:

Enregistrer un commentaire