You should first start by putting in a descriptive subject to your message.
A generic "help" sentence, especially one that is misspelled and
over-emphasized, is no good. Also, since Boost covers a lot of different
code subjects, you should add a tag to the subject specifying the library
you have a problem with.
> I use multi array boost
> But I have problem : - I can't declare a multi array as a member variable ,
> I have the error: unexpected "error C2321: syntax error : unexpected
> When I don' write the keyword "typdef" I have more mistakes.
The actual problem isn't with multi-array; it's that you can't write a
Data-based members generally cannot be initialized at the declaration level
within the class definition. (The exception is for static data member
constants of an integer or enumeration type, and they must use the "= Value"
syntax.) You should initialize non-static data members within each
constructor, hopefully within the initializer list, or within the body if
you must. Static data members that don't meet the exception given above
have to be initialized like a regular variable, but outside the class
boost::multi_array<double, 2> M;