
24 Nov
2010
24 Nov
'10
4:33 p.m.
Replace raw pointers with offset_ptr's and avoid storing references and static members and avoid virtuals. See documentation ("Limitations When Constructing Objects In Mapped Regions") for that:
http://www.boost.org/doc/libs/1_45_0/doc/html/interprocess/sharedmemorybetwe...
Ion, The code I already have uses std::vector to store data and it may not be possible to replace it with interprocess::vector. Is there any other container that may be used that has the same interface as std::vector. In the worst case, I can write a very simple class to hold data. Thanks, - Aditya