Boost logo

Boost Users :

Subject: Re: [Boost-users] [Interprocess] Different outputs under bash and gdb
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2010-11-24 12:38:49


On 24/11/2010 17:33, Aditya Gadre wrote:

> 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.

No, sorry, you need to replace std::vector with an shared memory
friendly class. boost::interprocess::vector is the only one I know.

In the future (c++0x) std::vector will support boost::interprocess
allocators but meanwhile, you'll need to change your code.

Best,

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