converting tuple to variant problems
I need to access a value in std::tuple
by index at run time. For that purpose I wrote a function that returns a std::variant
with the same types initialized for the specified index. Implementation involves recursive template instantiations: