$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Alisdair Meredith (alisdair.meredith_at_[hidden])
Date: 2003-08-08 10:53:20
Robert Ramey wrote:
> Currently boost array contains a copy of the array that initialized it.
> Is there any reason that boost array can't be enhanced to contain a reference
> to the original C array? I think this would make it more useful
> to me as well as others.
I don't see the problem. boost::array is not a wrapper around an
existing array, it IS an array. In the same way, std::vector does not
take ownership of any existing memory you may want to initialise it
with.
I am not sure what you are trying to achieve, why do scoped_array or
shared_array not serve in this case?
-- AlisdairM