std::array with non-compile-time-constant

Is it possible to initialise an std::array with a non-compile-time-constant? Or is the only option to use a vector?

 
std::array<std::string,people> names;
No; use a vector.
Thanks
Topic archived. No new replies allowed.