Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 序列化原始 boost::variant 是否安全?
我想序列化一个 boost::variant 类型的非 POD 类。你能告诉我这是否可能并告诉我怎么做吗?
typedef boost::variant<macro,module> mvar