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

If you insert something in vector, then all iterators will became invalid.


Sure, but iterators have nothing to do with "ownership", so your point isn't clear...




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

Search: