Boost logo

Boost :

Subject: Re: [boost] [type_traits] Rewrite and dependency free version
From: Peter Dimov (lists_at_[hidden])
Date: 2015-02-02 15:42:58


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk