Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-01-05 13:41:11

"Emil Dotchevski" <emildotchevski_at_[hidden]> writes:

> Compare this to the example I provided a few levels up: foo.h does not
> include any header files and yet defines how objects of class foo are to be
> serialized. Correct me if I'm wrong but I think that that example is
> essentially compatible with boost serialization; it is the intended use of
> BOOST_CLASS_EXPORT in header files that introduces the physical coupling I'm
> complaining about.

Is there something wrong with defining your classes in foo.hpp and
exporting them in a foo_serialization.hpp that isn't included by

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at