Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 239 Bytes

6.13.md

File metadata and controls

3 lines (2 loc) · 239 Bytes

void f(T) will pass the argument by value, which means in the function f, a copy of T will be made.

void f(T&) will pass the argument by reference, which means in the function f, the same variable defined in the caller is used.