
On Jun 24, 1:54 pm, Jesse Perla
I believe the problem is that the index_gen object needs different types as we build the indices in parts. The following code shows what a hardcoded example would look like for N = 4 and M = 3
Sorry to answer my own question, but I poked around in the code and
found that the member data is public. The following seems to solve my
problem (though I would still love suggestions on if it is the best
way to tackle this problem with multi_array):
boost::multi_array