19 Oct
2006
19 Oct
'06
6:30 p.m.
Robert Fendt wrote:
Hi,
I have a somewhat peculiar problem concerning the shared_ptr template. I use an STL container to hold several shared_ptr values. When the container is destroyed, all the destructors are called correctly, but the memory is not freed. Furthermore, shared_ptr usage introduces a 100x memory overhead (or more) in my case. Compiler system is GCC.
Does it also happen with libstdc++'s own std::tr1::shared_ptr in