there is a call of std::apply for std::tuple,
inside the lambda, there is another container: std::array, each element of that is an object and I need to call this member with a parameter – tuple value.
something like this:
std::apply(
[this](auto&&... tuple_item) {
((std::get<TUPLE_ITEM_INDEX???>(this->my_std_array_member.func(tuple_item.name), ...)
},
my_std_tuple
);
of course, supposed that tuple and my_array_member are equal (size).
objects in a tuple are classes and all of those have a “name” field, which I need to use in array calls
how to get current tuple index in the expression to use it in get<>() for std::array ??