Would MakeArray(array.data()) work for you?
On Mon, Mar 22, 2021, 23:00 Ying Zhou wrote:
> Hi,
>
> I know this is a very silly question here but I still prefer to see it
> resolved rather than working on it for a day:
>
> How shall I generate an std::shared_ptr from an Array&? Just taking
> the
Hi,
I know this is a very silly question here but I still prefer to see it resolved
rather than working on it for a day:
How shall I generate an std::shared_ptr from an Array&? Just taking the
address and constructing a shared_ptr from the pointer doesn’t work.
Ying