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?
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?