
On 9/18/07, Robert Ramey <ramey@rrsd.com> wrote:
Chris Fairles wrote:
I wanted the ability to serialize to binary archives (over a socket) and xml archives (file) without writing code for the two cases (nvp w/xml and no-nvp with non-xml).
The library as it stands now permits this. I don't see any functional difference between the code you post and that in the library in the beginning. The implemenation in the library is different as I didn't wanted to permit its usage with compilers which have broken implemenations of partial function template ordering - but as far as I can see it does the same thing.
Robert Ramey
Hm. I'll have to look more closely at the libraries impl, but I was getting junk reading from a binary archive written through make_nvp call's in the class' serialize function. using the posted impl, things seemed to work. The code you refer to exists in 1.34.1 I assume? Chris
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost