7 ms·
Refs in C++ go against this, right? At the call site, it's not clear that you're passing in a ref instead of a value. I don't mind it too much cause at least th
by paperplatter 2y ago
Refs in C++ go against this, right? At the call site, it's not clear that you're passing in a ref instead of a value. I don't mind it too much cause at least the rules are the same for everything, not different for structs vs classes.
- fauigerzigerk 2y agoYes. At least references are still part of the variable type and therefore likely to be closer to the call site.
- deleted 2y ago[deleted]