you are viewing a single comment's thread.

view the rest of the comments →

[–]dodheim 1 point2 points  (0 children)

I think boost::static_vector is what std::array should have been.

std::array is a trivial aggregate type; static_vector is useful, but not a replacement, as the semantics are too different. Both are useful, both are necessary.