Boost logo

Boost Users :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-06-03 14:54:28


Jan Suchý wrote:
> Hallo boost interprocess useres,
> first of all, many thanks to Ion for his support:
> std::auto_ptr<managed_shared_memory> segment_ptr is working well and choosing keytype as interprocess::basic_string is working great too. Thank you.
>
> But now, I have stoppend when using map in shared memory in combination:
>
> typedef std::pair<MyString, XQQuery*> ValueType;

You can't store raw pointers in shared memory. And since XQQuery does
not seem to be prepared for shared memory, you can't place XQQuery
objects in shared memory. I'm afraid there's no solution to your problem
using Interprocess :-(

Regards,

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