My question is in the code:
template struct TupleOfVectors { std::tuple...> tuple; void do_something_t
Boost mp11 has this functionality:
#include #include #include using namespace std; using boost::mp11::tuple_for_each; std::tuple t{string("abc"), 47 }; int main(){ tuple_for_each(t,[](const auto& x){ cout << x + x << endl; }); }