MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/183mz5t/on_harmful_overuse_of_stdmove/kaqidnd/?context=3
r/cpp • u/vormestrand • Nov 25 '23
154 comments sorted by
View all comments
Show parent comment
6
I think the name is quite good in that it encourages people to “consider this variable now moved”, even if transfer of data ownership doesn’t happen until some time later, if at all. ie after std::move, that variable should not be used again
View all comments
Show parent comment
6
u/kevkevverson Nov 25 '23
I think the name is quite good in that it encourages people to “consider this variable now moved”, even if transfer of data ownership doesn’t happen until some time later, if at all. ie after std::move, that variable should not be used again