
22 Sep
2006
22 Sep
'06
2:13 a.m.
On Thu, 21 Sep 2006 14:49:51 -0300, Neal Becker <ndbecker2@gmail.com> wrote:
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 = ???
matrix_t::dimensionality Bruno