$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Ramey (ramey_at_[hidden])
Date: 2006-09-16 18:59:27
Neal Becker wrote:
> Can anyone see what's wrong with this example?
<snip>
The concept of "Export" is not necessary except for polymorphic types.
Application to non-polymorphic types currently fails in a confusing manner.
Fix - comment out the following:
//BOOST_SERIALIZATION_SHARED_PTR (limit_policy<double>)
//BOOST_CLASS_EXPORT_CHECK (limit_policy<double>)
//BOOST_CLASS_EXPORT_GUID (limit_policy<double>, "limit_policy<double>")
If you want to serialize derived classes - then make one of the functions
virtual and export the derived classes.
Robert Ramey