Boost logo

Boost Users :

Subject: Re: [Boost-users] [Interprocess] Collection of base shared_ptr
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-04-04 12:52:14


AMDG

On 04/04/2012 08:26 AM, Ion Gaztañaga wrote:
> El 03/04/2012 23:37, Aaron_Wright_at_[hidden] escribió:
>> Hmmm. I was almost thinking the same thing, but I was hoping there was
>> something I was missing.
>>
>> What about boost::variant? Can I stuff that into a queue in shared
>> memory?
>
> I don't know boost::variant internals, but if it does not use any
> virtual function, it could be a choice.
>

boost::variant doesn't use virtual functions,
*but* under some conditions it can store
a raw pointer which is also a problem for
interprocess.

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