O'Reilly logo
  • Sii Sp. z o.o. PL5252352907 Al.Niepodleglosci 69, Warszawa thinks this is interesting:

Why would we use an array when we could use a built-in array? An array knows its size, so it is easy to use with standard-library algorithms, and it can be copied (using = or initialization). However, my main reason to prefer array is that it saves me from surprising nasty conversions to pointers.


Cover of A Tour of C++


Why use std::array rather than built-in array.