Boost logo

Boost :

Subject: Re: [boost] [type_traits] Rewrite and dependency free version
From: Peter Dimov (lists_at_[hidden])
Date: 2015-02-02 19:26:47


Robert Ramey wrote:

...

> Modest Proposal - Bridge module
>
> We create a new module - named "bridge". In this module there is a
> directory: boost/bridge/archive.hpp. This contains only forward
> declarations:
>
> class basic_iarchive;
> class basic_oarchive;
>
> and maybe some other miscellaneous stuff. This includes no headers from
> boost/archive.
>
> in date-time/serialization.hpp files in other libraries replace
>
> #include <boost/archive/basic_iarchive.hpp>
> with
> #include <boost/bridge/archive.hpp>

Date_time doesn't include basic_iarchive.hpp. It doesn't include anything
from boost/archive. It only includes

boost/serialization/nvp.hpp

and

boost/serialization/split_free.hpp

Look at the dependency report. Don't try to solve problems that don't exist.


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