Sorry, there's no 'new' word there ...
AMDGIs that exactly what you did? If so I'm surprised that it compiles, because
Matheus Araújo Aguiar wrote:
Hello everyone,
I'm getting an error when trying to get one sub array from a multi_array
with 2 dimensions. This is the code:
//at class constructor
boost::multi_array<char, 2> array2d = new boost::multi_array<char,
2>(boost::extents[x][y]);
you are trying to assign a pointer to a multi_array to a multi_array.
In Christ,
Steven Watanabe
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users