Boost logo

Boost Users :

Subject: [Boost-users] multidimensional array query
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2009-03-09 14:57:49


Hi:
I need to define a multi-dimensional array with 4 collumns and two rows,
What is the correct way to do this?
My current definition is:
 boost::multi_array<std::wstring, 2>
table(boost::extents[4][Lines.size()]);
Is this correct, Lines is a vector decared prevously in the code.
Any help appreciated
Sean.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net