Question PRG-CPP-0075
HardWhy is passing large objects as 'const T&' common in C++?
- A.
It makes the object global
- B.
It is required for templates
- C.
It forces a copy
- D.
It avoids copying while promising not to modify the argument
Sign up free to see the answer and a step-by-step explanation.