This section introduces reference parameters—the first of the two means C++ provides for performing pass-by-reference. With pass-by-reference, the caller gives the called function the ability to access the caller’s data directly, and to modify that data.
Performance Tip 6.6
Pass-by-reference is good for performance reasons, because it can eliminate the pass-by-value overhead of copying large amounts of data.
Software Engineering Observation 6.10
Pass-by-reference can weaken security; the called function can corrupt the ...