I have a program using quite a bit of storage (2.5MB) and I store it all in the stack using std::vector.
- Would it be a good idea to save that in the heap instead and
- If that is the case is it possible to use functions that take references vector& when the stored types are of vector* (as they are allocated with new)?