Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] Does it leak memory when applied toshared_ptr?
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-12-03 13:45:29

"Peng.Huang" <huangpeng1126_at_[hidden]> wrote in message
When used for serialize the shared pointer, memory leak occurs.
I am not sure that is due to the internal bug or the wrong use of
serialization library.
The following is test code:

Your usage of all the libraries is correct.

A little time convinces me that this is indeed a bug in the library -
specifically the implentation of serialization for shared_ptr.
Unfortunately, this is not a trivial fix. So please create a track item for
this bug.

Robert Ramey


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at