Why is `index_gen` in `multi_array` a `boost::detail::multi_array::index_gen<0,0>`

114 views Asked by At

This discussion has let to another question. It seems that index_gen in multi_array (a.k.a. boost::multi_array::index_gen) is set to boost::detail::multi_array::index_gen<0,0>, where I would have expected it to be boost::detail::multi_array::index_gen<Dim,Dim> where Dim is the template parameter of multi_array. Can anyone explain why this <0,0> type is used instead?

0

There are 0 answers