Boost logo

Boost :

Subject: Re: [boost] [interprocess] [bimap] Using raw pointers
From: Matias Capeletto (matias.capeletto_at_[hidden])
Date: 2013-01-26 01:34:06


On Sat, Jan 26, 2013 at 4:46 AM, TONGARI <tongari95_at_[hidden]> wrote:
> 2013/1/26 Matias Capeletto <matias.capeletto_at_[hidden]>
>> Or maybe some another trick to point the members to the core.
>
> Is it possible for you to make left & right in a union and put it in the
> front of bimap (as 1st base or member) so you can cast (this) to bimap?
>
> Not sure about strict-aliasing though...

Look at my mail to Ion, it seems that MultiIndex was putting the
indexes as part of the hierarchy to achieve this.


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