Hacker News new | ask | show | jobs
by xKingfisher 1936 days ago
It's definitely a lot to process.

I found these two articles really helpful when trying to understand moves:

https://abseil.io/tips/55 https://abseil.io/tips/77

Though I'd also say don't worry about it too much, especially at first. If you're copying a lot of temporary objects moving can get you some performance wins, but that's something profiling should be telling you m

1 comments

Authors should also try to be aware that for some types there's not a meaningful difference between copy construction and move construction.