Hacker News new | past | comments | ask | show | jobs | submit login

Yes in 99.9% of cases. The main trouble could come from the angle of accidental move (rvalue cast) somewhere invoking a broken/wrong move constructor or assignment.

Of course, crusty old code can be buggy yet originally working - e.g. relying on implementation defined or undefined behavior. (or even bugs in compiler or standard library implementation)




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

Search: