I’m getting an error with serializing a char* string error C2228: left of '.serialize' must have class/struct/union I could use a std::string and then get a const char* from it. but I require the char* string.
I’m getting an error with serializing a char* string error C2228: left of ‘.serialize’
Share
The error message says it all, there’s no support in boost serialization to serialize pointers to primitive types.
You can do something like this in the store code:
and in the load code: