阅读背景:

C ++使用向量序列化对象会导致双重自由损坏

来源:互联网 

I'm trying to serialize and deserialize an object which contains a vector using ofstream and ifstream. The process of serialization works like a charm, but as soon as I call the read method of ifstream, I get a double free or corruption exception. This is my code:I'm trying to serialize and deserialize an obje




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: