Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Serialization how to use serialize without nvp
From: Bjorn Reese (breese_at_[hidden])
Date: 2016-03-27 13:48:51


On 03/23/2016 12:45 PM, gast128 wrote:

> We want archives the same for debug and release. So I tried a couple of things:
> * use primitive_type: This doesn't work if the type T is a string. Basically
> it doesn't come in the 'load(std::wstring &ws)' anymore, since it now routes
> to operator<< and then all kinds of nasty thing happens for xml archives.

I do not have a solution for you, but I wanted to voice my support
for a new level type to ignore a nesting level (but not its content)
during serialization.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net