« Return to Thread: [interprocess] Container

Re: [interprocess] Container

by Steven Watanabe-4 :: Rate this Message:

Reply to Author | View in Thread

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 mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users

 « Return to Thread: [interprocess] Container