Do I need to resize wstring if it already has a string but I'm assigning a new string with different size?
Posted on 2006-04-27
The following variables are all wstring. However, those in userDataIter(vector Iterator) points to already has a string them. Would the code below be correct as far as the memory goes for wstring? Thank you.
userDataIter->LoginName = userData->LoginName;
userDataIter->shell = userData->shell;