c++ - What happens to the moved-from object after std::move() is called? -
this question has reply here:
what can moved-from object? 2 answersi have read should create sure there no users of moved-from object before moving it. want know why ? moved-from object destroyed after std::move() called ? if not, happens moved-from object after std::move() called ?
it depends on how result of std::move()
used. move
not object.
c++
No comments:
Post a Comment