|
Boost : |
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-----
Hash: SHA1
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.
/Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJ1jhuk1tAOprY6QERAkVXAJ0S9i9NtWTYVpvPh+kSZFafSy1lmQCfT9q8
rFRYkd5Ejbu+pTMwFWqjmzk=
=gVkj
-----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