Boost logo

Boost Users :

Subject: Re: [Boost-users] multi-array data ownership
From: Anton Daneyko (self_at_[hidden])
Date: 2009-05-07 20:41:46

You can use multi_array_ref which is the multiarray that does not maintain
the lifetime of it's data.

On Thu, May 7, 2009 at 2:48 PM, gtsml owevwr <gtsml.owevwr_at_[hidden]>wrote:

> Hi,
> I want to use multi-array but the original data is coming from, let say, a
> std::vector<float>.
> The data is quite big, do I need to copy it into a multi-array?
> Or maybe I can use a "view" as a proxy on top of the original data and
> therefore avoid a costly copy?
> Thanks,
> Frank
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at