Boost logo

Boost Users :

Subject: Re: [Boost-users] serialization of standard unordered containers
From: D. R. Evans (doc.evans_at_[hidden])
Date: 2013-07-28 19:20:15


Bjorn Reese said the following at 07/27/2013 02:45 AM :
> On 07/26/2013 11:03 PM, D. R. Evans wrote:
>
>> 1. Is serialization of standard unordered containers supported in version
>> 1.54.0 of the boost libraries?
>
> No, but you can add your own. Serialization of STL containers are
> implemented non-intrusively. See boost/serialization/set.hpp for an
> example.

I don't know what "non-intrusively" means in this context.

I looked at the example, and the thought of trying to implement something
similar for unordered sets sent me straight back to my user-level hole; I'll
wait until someone who understands how this is supposed to work gets around to
implementing it (it isn't, I assume, obvious even to those who have developed
code for boost, otherwise it would, I expect, have been done already). I'll
just live with old-fashioned sets in the meantime; they're fast enough for my
current use-cases.

  Doc

-- 
Web:  http://www.sff.net/people/N7DR



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