| ▲ | HarHarVeryFunny 3 hours ago | |||||||
Not sure how this relates to your original claim, below, that I have been responding to? > Just because you wrote at the call site that you want to pass a copy of your object doesn't mean that the callee will actually make a copy of it. | ||||||||
| ▲ | fluoridation 2 hours ago | parent [-] | |||||||
Meaning, just like move semantics, overload resolution can sometimes be surprising, and the compiler may not always do what you expected if you don't fully understand the types you're working with. std::move() is not special in this sense. | ||||||||
| ||||||||