3 ms·
Yes, if you leak resources, their destructors won't be called. That really has nothing at all to do with move semantics though. I think the important point is t
by 0xffff2 7y ago
Yes, if you leak resources, their destructors won't be called. That really has nothing at all to do with move semantics though. I think the important point is that move semantics don't alter the lifetime management of the moved-from object.