5 ms·
std::array has its size fixed at compile time, so there's no reason for you to do have to do bounds checking…
by saagarjha 9y ago
std::array has its size fixed at compile time, so there's no reason for you to do have to do bounds checking…
- blub 9y agochar 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.