|
Boost Users : |
Subject: Re: [Boost-users] [Interprocess] Different outputs under bash and gdb
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2010-11-24 10:22:10
On 24/11/2010 15:41, Aditya Gadre wrote:
> Ion,
>
> My appologies...I did not realize that typedef refers to
> boost::interprocess::vector instead of std::vector. So now I have this
> new question - what would one need to do in order to share his/her
> custom C++ classes.
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:
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