Re:&& operator chains (and ||, possibly) generates unoptimiz...
by Too on Monday March 29, 2021 @02:54PM
(#26626563)
In c/c++, Marking every argument as const throughout a deep call chain to later find some edge case where you need to mutate one member far down the call stack, and where this would not have broken the top level contract of the function. Forcing you to do expensive copies instead.
[ Parent
| on HN ]
There are no comments on this comment yet.