std::array:固定长度连续容器 | STL
本章覆盖:`std::array<T, N>`;compile-time size;stack / member storage 取决于对象所在位置;contiguous storage;random access;iterators;`.size()`;`.data()`;C array 的更安全包装;size 是类型的一部分;不支持运行时 resize。
本章知识点
std::array<T, N>- compile-time size
- stack / member storage 取决于对象所在位置
- contiguous storage
- random access
- iterators
.size().data()- C array 的更安全包装
- size 是类型的一部分
- 不支持运行时 resize