Skip to content

CTAD for TupleVector does not work as for std::tuple

I would expect that Dune::TupleVector either behaves like std::tuple or like std::vector when it comes to class-template argument deduction, i.e.,

auto vec1 = Dune::TupleVector{1.0, 2, 3.0f, 4u, 5_ic};

should given me Dune::TupleVector<double,int,float,unsigned int,std::integral_constant<std::size_t,5>>.

Also one cannot pass a std::tuple to trigger the CTAD. I think, some explicit deduction guides are missing.