21 May
2009
21 May
'09
9:22 p.m.
//at class constructor boost::multi_array
array2d = new boost::multi_array (boost::extents[x][y]);
//at class method boost::multi_array
array1d = array2d[0];
I tried out those two lines (minus the "new") here (see below), and
they compile without complaints in g++ 4.1.2.
Yung-Chin
-- contents of test file --
#include <iostream>
#include