by omegalulw · 4y ago · 0 comments
No offense, but are you using modern C++? One of the most common uses of std::move is around ownership transfer of std::unique_ptr - most moderately big projects will have those. Other uses are around preventing copies, etc but those need more thought since you may actually cause regressions by getting in the compiler's way.
We do not use unique_ptr and to be honest I can find little to no use for it anywhere in our 600k lines of C++.