Y
Hacker News
new
|
ask
|
show
|
jobs
by
guavaNinja
1628 days 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);`
1 comments
kaba0
1628 days ago
But then you can just pass in a mutable object as well in java.
link