SyntaxFix
Write A Post
Hire A Developer
Questions
boost::ptr_vector<int> will work.
boost::ptr_vector<int>
Edit: was a suggestion to use std::vector< boost::ref<int> >, which will not work because you can't default-construct a boost::ref.
std::vector< boost::ref<int> >
boost::ref