
abir basak wrote:
I successfully loaded my container in the shared memory after a little modification. It seems allocator.hpp doesnt have a construct method which takes a value type. So i changed it to void construct(const pointer &ptr,const value_type& value = value_type()) however i failed to use std::vector with shared memory.
The last SVN version recovers "construct". I recommend you downloading the latest version from SVN or wait the soon to be released Boost 1.35 release candidate.
There is another concern, can i use polymorphic class in shamm ? i.e whether vtable and rtti info will be in shamm for th object also ...
No polymorphism, no virtual base classes and avoid non-const statics. All is explained in Interprocess documentation.
thanks abir
Regards, Ion