C++中的a std::vector和a有什么区别std::array?什么时候应该优先于另一个?各自的优点和缺点是什么?我的所有教科书都列出了它们是如何相同的.
std::vector
std::array
c++ arrays vector
arrays ×1
c++ ×1
vector ×1