6 ms·
Yep! That's why it's equivalent to Add::add(a, b), not a.add(b). (This was definitely something I had to check, though, and, as you say, a tiny detail that's al
by dbaupp 8y ago
Yep! That's why it's equivalent to Add::add(a, b), not a.add(b). (This was definitely something I had to check, though, and, as you say, a tiny detail that's almost certainly irrelevant to most code that people write.)
- steveklabnik 8y agoSee my response to Chris, I actually thought it was! My bad!
- chrismorgan 8y agoAh, the old days when operators worked by reference… it was much harder to express precisely what the + sugar was back then.