From: Vishnu Mahadevan Menon (vishnu_m_menon_at_[hidden])
Date: 2005-04-15 06:25:08
Just how do we serialize boost::any variables using
the boost serialization library?
I currently have an implementation, but it isn't very
pretty. I think what I am doing is essentially similar
to what boost serialization does when we register
classes for serializing polymorphic pointers: using
the type_info in the boost::any variable, call the
correct serializer/deserializer functions using a
previously registered list. The ugly part is that now
I've to register *twice* (once with boost and once
with my list), pretty much to accomplish the same
Does anyone know of a cleaner way to serialize
Thanks to those who reply in advance!
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!