|
Boost Users : |
Subject: Re: [Boost-users] serialization library leaks memory in itsglobalobject
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-11-30 15:52:36
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.
Robert Ramey
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