E
Eric
Say I have vector<int> tmp. I then call a function that needs a
pointer to an int in tmp. Is it wise to pass the function &(tmp)?
If the vector increases in size could it invalidate that pointer?
pointer to an int in tmp. Is it wise to pass the function &(tmp)?
If the vector increases in size could it invalidate that pointer?