我有一个C++ STL映射,它是int和customType的映射.customType是一个结构,它有字符串和字符串列表,如何将其序列化为文件.
示例结构:
struct customType{ string; string; int; list<string>; }
c++ serialization stl
c++ ×1
serialization ×1
stl ×1