Boost logo

Boost Users :

Subject: Re: [Boost-users] [Interprocess] Different outputs under bash and gdb
From: Aditya Gadre (agadre_at_[hidden])
Date: 2010-11-24 11:33:07


> 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/sharedmemorybetweenprocesses.html#interprocess.sharedmemorybetweenprocesses.mapped_region_object_limitations
>
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


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