by riku_iki · 2y ago · 0 comments
std::array::at does bound check.
Opinions differ on whether this is the great strength or fatal flaw in C++.
Which most sane compilers will do for you in debug builds.
Sorry, I challenge your authority to decide what is "most natural way".