
16 Sep
2006
16 Sep
'06
10:59 p.m.
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