Boost logo

Boost Users :

Subject: Re: [Boost-users] [interprocess] Container
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-07-09 15:15:44


AMDG

Moritz wrote:
> is there a possibility to put something like this into the shared_memory?
>
> class A
> {
> int a;
> double d;
> // ...
> boost::interprocess string s;
> }
>
> Thanks in advance.

Yes. You need to use an appropriate allocator, but other than
that, it should be fine.

In Christ,
Steven Watanabe


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