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

1.2k views Asked by At

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?

0

There are 0 answers