
3 Feb
2015
3 Feb
'15
12:26 a.m.
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
with #include
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.