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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to