Boost logo

Boost :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2006-09-21 13:49:51


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 = ???


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk