|
Boost Users : |
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-05-29 13:24:41
On Thu, May 29, 2008 at 10:20 AM, Robert Ramey <ramey_at_[hidden]> wrote:
> #include <boost/archive/xml_oarchive.hpp>
>
> #include <boost/archive/xml_iarchive.hpp>
> ....
>
> // instanciate the code we want to generate and add tothe library
> template MyClass::serialize<boost::archive::xml_oarchive>;
>
> template MyClass::serialize<boost::archive::xml_iarchive>;
Shouldn't there also be something to register the types and archives
that are statically linked into the DLL so that serialization of
shared_ptr<polymorphic_base>, etc. can find them? Also, is it possible
to safely unload a DLL that uses boost::serialization?
-- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net