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

std::vector guarantees that it stores its elements contiguously, as this is required for a lot of use-cases (such as passing the buffer to one of the millions of functions that take just a pointer and a size).


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

Search: