Subject: Re: [boost] [serialization] serializing std::bitset
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2009-04-03 12:25:18
-----BEGIN PGP SIGNED MESSAGE-----
Kenny Riddile wrote:
> I need to serialize a std::bitset. I found an implementation by Brian
> Ravnsgaard Riis from 2006 in the vault that doesn't work with xml
> archives out of the box since it fails to use nvp wrappers internally.
> Should I just add the nvp wrappers or is there anything more current for
> serializing std::bitsets?
I doubt it. There wasn't over-much enthusiasm on the list back then
IIRC. I've moved away from bitset myself in the case where I needed it
back then, but the implementation you found should still work.
As for the NVP wrappers.. Well, I was pretty new to Boost.Serialization
at the time, and hadn't gotten around to needing XML archives yet. You
can just add the NVP wrappers then it should work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk