
28 Feb
2011
28 Feb
'11
9:35 a.m.
I recently discovered the multi_array, which was the answer to my prayers: typedef boost::multi_array<string, 2> ExpressionArrayType; ExpressionArrayType exprTable(boost::extents[extreme_row][extreme_col]); But now I need more functionality, which can be either: (1) Erase the current "exprTable" and create a new one, with different dimensions. (2) Resize the current dimensions. I have tried things like: ~exprTable; ~exprTable(); delete &exprTable; I have RTFM and Googled but still could use some guidance.... TIA, -RFH