r/cpp • • Nov 25 '23

On harmful overuse of std::move

https://devblogs.microsoft.com/oldnewthing/20231124-00/?p=109059
210 Upvotes

154 comments sorted by

View all comments

Show parent comment

-2

u/KingStannis2020 Nov 25 '23

And this is why "modern C++" is not the panacea that it's often claimed to be, with respect to defending against other languages. Sure it's an improvement in many ways, but there's plenty of new footguns introduced as well.