
The serialization library can't generate a GUID. It has a macro named BOOST_CLASS_EXPORT_GUID(class, guid) so you can associate your own GUID with a particular class to be created at runtime. So you still need to generate a guid somehow. The macro BOOST_CLASS_EXPORT(class_name) just resolves to BOOST_CLASS_EXPORT_GUID(class_name, "class_name") on the theory that this will be sufficiently unique enough for most applications. If this isn't true, you'll have to use a really GUID. Good Luck. Robert Ramey zsp wrote:
It seem the Serialization lib can generate GUID. But I don't konw which function do this job. I think it'll be useful if give this function alone. Thanks.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users