Hi:

I’m tryingto use boost::multi_array, I’ve included boost/multi_array.hpp in the file and have the following code:

private:

        typedef boost::multi_array<double, 3> array_type;

    typedef array_type::index index;

      array_type test(boost::extents[3][4][2]);

Commenting out the third line compiles fine, but leaving this in gives a c2061 error. It seems there is an issue with boost::extents, which header is this in? I don’t have a using boost; earlier, should I have? I’m using visual c+ 2008.

Any help apreciated.

Sean.