3 ms·
I think they meant you allocate data once and pass their pointers to a function to put its outputs there. `void return_multi(T* out0, M*out1);`
by guavaNinja 5y ago
I think they meant you allocate data once and pass their pointers to a function to put its outputs there.
`void return_multi(T* out0, M*out1);`
- kaba0 5y agoBut then you can just pass in a mutable object as well in java.