News for hackers. Stuff that matters.
Re:Syntax changes from C++11 to C++20 by gumby on Tuesday August 04, 2020 @09:43PM (#24056468)
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.

Re:Syntax changes from C++11 to C++20 by Ericson2314 on Wednesday August 05, 2020 @04:51PM (#24065457)
Not passing things around by value doesn't solve the problem. For example, template machinery has worry about absurd things like `const .. &&`.