ArrayData implemented in terms of std::vector.