2 ms·
Call by value is not that common any more in C++ except with scalars. Although there are legit cases for what you describe, it’s a pretty uncommon case.
by gumby 6y ago
Call by value is not that common any more in C++ except with scalars.
Although there are legit cases for what you describe, it’s a pretty uncommon case.
- Ericson2314 6y agoNot passing things around by value doesn't solve the problem. For example, template machinery has worry about absurd things like `const .. &&`.