Call-time pass-by-reference (passing with '&') has been either deprecated or removed. It has to be done in the function signature.
only duplicated if you modify the data inside the called function
I did not know that. Because I've observed the duplication behavior, I assumed that it was never a reference. I guess that's a "feature" when you don't really have any fine-grained, explicit control over pointers or references.
Comments
Call-time pass-by-reference (passing with '&') has been either deprecated or removed. It has to be done in the function signature.
I did not know that. Because I've observed the duplication behavior, I assumed that it was never a reference. I guess that's a "feature" when you don't really have any fine-grained, explicit control over pointers or references.