Generally, we would use a std::vector.