Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-01-06 14:20:18

I believe there is an error in the example for boost::multi_array:

   typedef boost::multi_array array_type;
   array_type A(boost::extents[3][4][2]);

   // use tuples (here a pair) in a 3x4 matrix
   assign_all( A ) (1,1)(2,2)(3,3)

Surely this is assigning a 3 x 3 x 2 array and not the 3 x 4 x 2 array in
the example?

Reece Dunn

It's fast, it's easy and it's free. Get MSN Messenger today!

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