From: Christoph Ludwig (cludwig_at_[hidden])
Date: 2004-09-28 04:12:41
On Mon, Sep 27, 2004 at 09:58:04AM -0700, Robert Ramey wrote:
> >However, this triggers a BOOST_STATIC_ASSERT in
> >basic_xml_oarchive<Archive>::save_override<T>(const T&, BOOST_PFTO int).
> >The implementation insists that all serialized types be wrapped in a
> That is the intent.
> There a section Reference:Class Serialization:Serialization
> Wrappers:Name-Value pairs where this is described. Perhaps this isn't
> obvious from contents.
After I saw Vladimir's post I found it. This section describes
everything I needed to know, thank you.
> >May I suggest that a section explaining the issues with xml archives be
> >added to the docs before the 1.32 release?
> Yes you may.
I don't know if I represent an average user or whether I simply was
too dumb to use the docs... :-) But if you consider using the xml
archive then you look in the documentation for "xml"; it's not obvious
that you should rather look for "Name-Value pairs".
Perhaps a patch similar to the one I am going to attach can remedy
PS: According to headers.html#userincludes, nvp.hpp is in
boost/archive. But it is in fact in boost/serialization.
-- http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk