Do you want the object to “just” point to the data or to hold it? You could use move_alloc to shift the pointer to your class.
1 Like
Do you want the object to “just” point to the data or to hold it? You could use move_alloc to shift the pointer to your class.