Boost logo

Boost Users :

From: kauai (kauai_diver_at_[hidden])
Date: 2005-04-21 17:00:55


Hi folks,

When I unserialize an object that has pointers in it
(composite recursive structure), does boost
unserialize take care of allocating them on the heap?
I assume it does, however...

I run a memory profiling tool call 'valgrind' and I on
purpose decided not to cleanup my newly created
serialized object. What happened after running
through valgrind surprised me, it reported no memory
leaks. Whats the magic here, smart pointers?

Thanks for any help,
Kauai

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


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