Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] How to serialize third party libraryfunction
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-12-04 11:25:45


I notice that the crash maybe has to do something with that, that my
CustomClass implements its own new and delete operators.

I know that the default implementation of load_construct data uses operator
placement ::new ( global new operator ) to allocate object when loading
through pointer, a

** I don't know which version of boost you're using. The most recent
version(s) make use of the type trait
"has_new_operator" to call a class specific new operator. Without having a
specific case to play with
I don't know for sure, but it may address you're situation.

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