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

std::array has its size fixed at compile time, so there's no reason for you to do have to do bounds checking…


char buffer[100] also has a fixed size and is responsible for most buffer overflow bugs :)

array::at is just as mandatory as vector::at IMO.




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

Search: