so i understand the value of keeping built-in arrays in c++, for things like compatibilty with old software, but if std::vector is significantly better, why still add features to arrays? i dont know if there are any others, but this is in regards to c++11's constexpr.
I don't think that there are features added to basic arrays.
The built-in arrays still have their use. For instance if you want to write a csv file where you want an array of names for the header. I.e. whenever you need a bunch of data that doesn't change during runtime
They are just using arrays as a example to show how a function can be used as a constant expression. It does not mean it is just for arrays...
C++11 introduced the keyword constexpr, which allows the user to guarantee that a function or object constructor is a compile-time constant.[9] The above example can be rewritten as follows: