Hi Fritz, I believe that the following is what you are looking for: A2.resize(extents[2][3]); Cheers, ron On Nov 21, 2005, at 1:21 PM, fritz.birnbacher@t-online.de wrote: Courier NewHello, Courier Newhow can I change the number of elements in an array ? Courier NewI want to do following: Courier Newtypedef boost::multi_array< array_type; Courier Newarray_type::extent_gen extents; Courier Newarray_type A1(extents[2][3]); Courier Newarray_type A2; Courier NewA2 = A1 Courier Newbest regards Courier NewFritz Birnbacher _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users