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

Thanks for the godbolt link, it really helped me understand where my mistake was. I was treating r-value references in my mind as if they are "consuming" the value, but of course, as reference types, they are not.




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

Search: