Boost logo

Boost Users :

From: me22 (me22.ca_at_[hidden])
Date: 2007-01-17 01:04:43


On 1/17/07, Sunil Chomal <sjchomal_at_[hidden]> wrote:
> As it was previously possible to use shmem shared memory allocator with STL
> containers, is it still possible to use the interprocess shared memory
> allocator along with STL containers? If I try to use a STL container with
> interprocess shared memory allocator, I get the following error:
>
> Error: cannot convert boost::interprocess::offset_ptr<type>
> to type*
>
That could well be an issue of the STL implementation not honouring
the allocator's pointer_type (and just using value_type* instead), but
I'm unsure.


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