Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think that comment is a copy-paste mistake. If you look at the next code snippet, the comment actually makes sense there.

That being said, I've also given up on C++ and learn it mostly to keep up with the job, if that's where you are coming from. I don't find Rust to be a satisfying replacement, though. No language scratches the itch for me right now.



Excellent catch. The std::move in the snippet is a copy-paste mistake. It was carried over from the previous code snippet.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: