Boost logo

Boost :

From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2002-09-06 11:42:43

Doesn't this get covered by boost::multi_array?

At Thursday 2002/09/05 18:38, you wrote:
>I've been watching the list for a couple days, and i was wondering if there
>was interest in a 2-dimensional container template class, which would be
>called "grid". It is possible to make a 2-dimensional grid with vectors, but
>all of the internal vectors have to be resized independently and they would
>all be in different locations of memory. The grid template would have a
>single area in memory for the contents, and data could be accessed as if it
>were a 2-dimensional array:
>grid<int> vGrid;
>vGrid[2][2] = 0;
>This is done by using a surrogate class, gridrow. Passing it to functions is
>also easy:
>void dosomething(grid<int> &rGrid);
>I already have the basics working and have used it successfully in a couple
>(one-user) programs. So, if there is interest, what do i do to prepare it
>for submission? Also, are there already template classes available somewhere
>with this type of functionality?
>Garrett Jones
>Unsubscribe & other changes:

Victor A. Wagner Jr.
PGP RSA fingerprint = 4D20 EBF6 0101 B069 3817 8DBF C846 E47A
PGP D-H fingerprint = 98BC 65E3 1A19 43EC 3908 65B9 F755 E6F4 63BB 9D93
The five most dangerous words in the English language:
               "There oughta be a law"

Boost list run by bdawes at, gregod at, cpdaniel at, john at