Ubuntu – Generic way for traversing a C++ std::tuple
My goal is to have a generic way to traverse a std::tupple, and the following code tries to show it: #include <iostream> #include <tuple> using namespace std; template <typename t, size_t t_idx, typename t_tuple> concept visit_tuple_element_value = requires(t &&p_t, const…