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

The state of a moved-from value is valid but unspecified (note, not undefined). IIRC the spec says vector must be `empty()` after a move. So all implementations do the obvious thing and revert back to an empty vector.


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

Search: