Boost logo

Boost Users :

Subject: Re: [Boost-users] serialization library leaks memory in itsglobalobject
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-11-30 18:00:48


On Mon, Nov 30, 2009 at 12:52 PM, Robert Ramey <ramey_at_[hidden]> wrote:
> Emil Dotchevski wrote:
>> On Mon, Nov 30, 2009 at 9:02 AM, Robert Ramey <ramey_at_[hidden]> wrote:
>
>> Is it possible to let the user manage the lifetime of the type
>> registry of the serialization library? I think that would not impose
>> much difficulties on the user, the type registry could just be
>> associated with archive objects before they're used, that is, the
>> library itself will get to it through the archive.
>>
>> Note that with this setup the user still has the option to make the
>> type registry global if that's what they want.
>
> This is effectively what happens if one uses the "registration" method
> which has always been available.

Ah right, it makes sense.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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