
I have had requests for this from time to time. Indeed, I have interest myself. However, authors of boost::variant havn't shown an interest in doing this. So I would suggest: a) Make sure it has a test. Ideally it should be in the same form as the other serialization tests so it can be just "dropped in" to the current test setup. b) Make a simple html page to describe any "gotchas" (if any) or other quirks one has to be aware of. c) Prepare to receive lots of advice on how you "should" have done it. Robert Ramey but no interest in troy d. straszheim wrote:
Robert Ramey wrote:
I would hope that soon we might think of releasing an updated version of boost - 1.33
As far as I know this might include
a)bug fixes for herefore untested combinations of compilers, varients, etc b)Jonathon Turkanis stream bufffer library c)Other libraries (Ranges?) d)Serialization library - bugfixes and DLL version
Richard Peters posted some diffs in late November for serialization of variants. My "patch" didn't like the diffs and gcc didn't like some of the code, but it's all cleaned up now, works. I wrote a little test module which might need to be more thorough (if so, let me know what else it needs to do...) I don't see reactions to the code in the archives from serialization or variant authors, though. The library files are at:
http://svn.resophonic.com/pub/boost/boost/variant/detail/visitation_impl.hpp
and tests,
http://svn.resophonic.com/pub/boost/libs/serialization/test/test_variant.cpp
- troy d. straszheim
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost