Subject: Re: [boost] [interprocess] preparing containers
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-12-04 05:11:36
Ion GaztaÃ±aga skrev:
> Thorsten Ottosen wrote:
>> vicente.botet skrev:
>>> The address of the virtual table depends on the process, so can not
>>> be shared. As consequence we can not have virtual function on objects
>>> stored on shared memory.
>> Thanks. This pretty much makes it irrelevant for me to support shared
>> memory then.
>> best regards
> Thanks Vicente. For more limitations, see:
Thanks. Does that mean I can't even use function pointers in shared
memory? That is, I can't even create my own manual vtable scheme:
class Base : boost::interprocess::base_class< Base* (),
void (const std::string&) >
Base* clone() const;
std::string name() const;
void setName( const std::string& );
Can I use boost::function in shared memory?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk