std::index_sequence and its Improvement in C++20
▻https://www.fluentcpp.com/2021/03/05/stdindex_sequence-and-its-improvement-in-c20
It would be great if we could iterate on the values of a std::tuple like we do for a std::vector or for other STL containers. But we can’t. To iterate on the values inside of a tuple, we need to proceed in two steps: instantiate a std::index_sequence object with std::make_index_sequence, pass it to another function that performs the […]