public:
typedef boost::multi_array<double, 2> ;
MyArray A;


ある関数(){
int Arraylen

Ararylen=3

A( boost::extents[4],[Arraylen]);

}

こうやってもダメでしたね。