
30 May
2008
30 May
'08
11:31 a.m.
Hello everybody, i'm looking for the best way to modify the dimensions of an array. For example, i got this one: boost::multi_array<int, 2> array ( boost::extents[3][3] ); and i want to change it in an array of 5 dimensions. Now, what i'm doing is to create a new array of 5 dimensions and copying the first one into it, then delete the first one. But i'm sure that a more efficient way exists. No? -- View this message in context: http://www.nabble.com/-multi_array--how-to-modify-the-dimension-of-an-array-... Sent from the Boost - Users mailing list archive at Nabble.com.