Structured binding won't work with std::tuple
and a template parameter pack
You need to specialize std::tuple
and implement tuple_size
and tuple_element
Examples here: Direct initialization fails with class derived from std::tuple, while it works for std::pair