|
Boost Users : |
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-03-14 13:08:43
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
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