Boost logo

Boost :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2002-10-22 12:41:41

On 23 Sep 2002, Neal D. Becker wrote:

> I'd like to see the following features added to multi_array:
> 1) Conversion to/from plain C array
multi_array and multi_array_ref provide a "data()" member function that
returns a pointer to the (contiguous) data that makes up a multi_array.
For example:

boost::multi_array<int,2> A;
// ...
  int* A_data =;

Is that what you are looking for?

> 2) I/O (maybe a seperate header for this)

Could you elaborate a bit? There is a file:

That shows a pretty naive example of streaming the contents of a
multi_array to a std::ostream. Could you elaborate on what you are
interested in?


> _______________________________________________
> Unsubscribe & other changes:

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