[multi_array] Resize changes storage order irreversibly

Hi,
I noticed that after a resize the storage order is reset to the default
value. This is apparent not only printing the contents (see attached test
case) but also by inspecting strides() directly. Not only this breaks my
program, but the only way to set the storage order is apparently in the
constructor and therefore resize becomes de facto unusable for non default
storage orders, so I don't even have a workaround. I couldn't find anything
regarding this in the docs. I believe this is a serious bug. Can anyone
advise?
Antonio
#include
participants (2)
-
Antonio Piccolboni
-
Ronald Garcia