User Profile
Collapse
-
Thanks, that answers my question! -
I don't know why it was done that way either. ...but it was. In order to deserialize the existing data properly, sizeof(std::str ing) must return 16 not 32.
Any guidance will be appreciated.Leave a comment:
-
sizeof(std::string) was 16 now 32
I am having trouble porting some code from VC6 to VC8 (2005).
I need to deserialize files that were written in VC6 and heavily use the std::string template.
sizeof(std::str ing) will be 16 from vc6, but will be 32 from vc8. I need it to be 16.
see the sample code below:
CODE
#include <string>
int main(int argc, char* argv[])
{
std::string s = "";
...
No activity results to display
Show More
Leave a comment: