Boost logo

Boost :

From: Jon Pendergrass (jonpendergrass_at_[hidden])
Date: 2002-10-22 10:33:47

'm new to Boost, so please excuse my lack of
knowledge. I'm trying to use the multi_array class and
have hit a small snag.

I'd like to have a class with a 4-D array. Initially
it won't contain any data. However, Microsoft Visual
C++ v6.0 complains about not find a constructor.

I want to do something like this:

typedef boost::multi_array<std::complex<double>, 4>

class foobar
  t_Array4D ar;

void foobar::SetValue()
  // set extents code

  // set value
  this->ar[0][0][0][0] = 2.0;

Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site

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