This question already has answers here:
http://stackoverflow.com//questions/30263303/stdarray-vs-array-performance”>std::array vs array performance (5 answers)
Closed 2 years ago.
My question is pretty straightforward, but to be more specific I want to quote 2 lines from Stroustrup11.
T[N]A fixed-size built-in array: N contiguous elements of type T; no
size()or other member functions
array<T,N>A fixed-size array of N contiguous elements of type T; like the built-in array, but with most problems solved
So what is the difference the author is mentioning? And what problems are solved for