
21 Sep
2006
21 Sep
'06
5:49 p.m.
Maybe I'm missing something obvious. How do I get a compile-time constant for the numDim from a multi_array? For example: template<typename matrix_t> void F (matrix_t const& m) { typedef typename matrix_t::value_type value_type; const int dim = ???