Boost logo

Boost Users :

Subject: [Boost-users] Multiarray resize
From: Juan Antonio Farré Basurte (jafb_at_[hidden])
Date: 2009-08-11 18:39:42


Hello,
The function multi_array::resize() returns a multi_array reference.
Does it mean that resize can change the memory location of the
current multi_array object?
In other words, if I have

multi_array *my_array;

can I just do

my_array->resize()

or I should do

my_array=my_array->resize()

?

Thanks a lot,

Juan



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net