I'm basically trying to pass by reference, so that the changes wrought by the function upon the vector are permanent outside the scope of the function. Am I correct in thinking that passing a vector of pointers is sufficient to accomplish this on its own? It makes complete sense in my head, but I just want to confirm I'm not making an error here somehow.
void updateCursors(vector<cursor*> cursors)
This should be sufficient to change the data in the objects pointed to by these pointers, yes?