Boost logo

Boost :

Subject: Re: [boost] [interprocess] preparing containers
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-12-03 05:44:01


vicente.botet skrev:
> ----- Original Message -----
> From: "Thorsten Ottosen" <thorsten.ottosen_at_[hidden]>

>>I guess support for virtual functions is needed, except for the most
>> trivial cases. So what does it mean exactly, that shared memory does not
>> support virtual functions? Can I never call a virtual function on an
>> object if that object's memory is shared? (In which case I'm a bit
>> puzzled :-))
>
> 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

-Thorsten


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk