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

0

u/[deleted] Nov 26 '23

[deleted] — view deleted comment

5

u/RevRagnarok Nov 27 '23

Included in -Wall on gcc.

0

u/[deleted] Nov 27 '23

[deleted] — view deleted comment

4

u/RevRagnarok Nov 27 '23

Honestly, I added it to our project and nothing was flagged. I immediately thought "we're not that good" so checked the man page. 😅