Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-27 00:42:32


Li Lirong wrote:

> Hi,
> Do we have serialization support for boost::any? If not, how is it
> possible to serialize boost::any?

Good question. Robert, is it possible to place BOOST_CLASS_EXPORT inside
class definition, so that I can write something like that:

   class any_base {};
   template<class T>
   class any_value_holder : public any_base
   {
        .......
        BOOST_CLASS_EXPORT(any_value_holder);
   };

and have BOOST_CLASS_EXPORT run for each instantiation of any_value_holder?

- Volodya


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