3 template <unsigned R, unsigned C>
7 for (unsigned long r = 0; r < R; ++r)
8 for (unsigned long c = 0; c < C; ++c)
11 int operator()(unsigned r, unsigned c) const
16 extern "C" void abort (void);
19 int vals[2][2] = { { 1, 2 }, { 5, 6 } };
20 M<2,2> m( &(vals[0][0]) );