yinglcs2@yahoo.com wrote:
Can you please tell me if I can do the same with the
Boost.Array library?
No, you can't. Boost.Array was intentionally written to only support
compile-time size specifications.
For runtime sizes, use std::vector.
Sebastian Redl