Boost logo

Boost :

Subject: Re: [boost] Interprocess regexes
From: David Abrahams (dave_at_[hidden])
Date: 2009-12-05 11:48:14


On Dec 5, 2009, at 10:14 PM, Phil Endecott wrote:

> while the custom allocators let you put std::containers in shared memory they are still not very useful since they can only be used by the process that put them there - other processes will (potentially) see the shared memory at a different address and all the pointers will be wrong

Isn't this *exactly* what the allocator's nested ::pointer type is for?

--
David Abrahams
BoostPro Computing
http://boostpro.com

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