Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization - newbie] serializing/deserializing singleton class objects
From: Soumen (soumen78_at_[hidden])
Date: 2009-08-04 09:37:17


There're some vector of raw pointer to const objects in MyData. Removing the
const-ness from those pointer resolved the compilation issue. However, it
seems some smart pointer inside serialization library code is freeing those
memory and that's causing a crash later on.

Is it mandatory, know it's advisable, that I need to use smart pointer
instead of raw pointer in that vector here?

Regards,
~ Soumen

-- 
View this message in context: http://www.nabble.com/-serialization---newbie--serializing-deserializing-singleton-class-objects-tp24803268p24808825.html
Sent from the Boost - Users mailing list archive at Nabble.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