Boost logo

Boost Users :

Subject: [Boost-users] [serialization] Export macro doesnt work
From: Jari (jaristr_at_[hidden])
Date: 2011-08-10 02:37:34


Hi
I was trying to use BOOST_CLASS_EXPORT for all my classes in order to
save them but I always got unregistered class error.
So I used oa.register_type<object>(); for the class that was causing
the error and problem solved. But why doesnt the BOOST_CLASS_EXPORT
macro work?

Why I need to use oa.register_type<object>(); ?

Im using Boost 1.46.1

Thanks


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