
2 Feb
2015
2 Feb
'15
8:42 p.m.
Emil Dotchevski wrote:
As for serialization core dependencies, isn't it possible to define serialization function template overloads for user-defined types without including serialization library headers?
To (properly?) support XML archives, you need at least boost/serialization/nvp.hpp, and if you want to change the tracking level or the implementation level for the type, you generally include the corresponding headers as well, although this could be done with forward declarations. In addition, if you serialize a base class, you need boost/serialization/base_object.hpp. Not sure if that's all, perhaps there's more.