Boost logo

Boost :

Subject: Re: [boost] [container] documentation
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-01-24 07:03:44


El 24/01/2011 0:37, Gordon Woodhull escribió:
>>> I'm wondering if it has somehow an improved contract with the
>>> allocator to support shared memory - or is that worth talking
>>> about?
>>
>> Yes, it supports some special functions, also new allocation
>> schemes like explained in:
>>
>> http://www.drivehq.com/web/igaztanaga/allocplus/
>
> Oh cool, this is (a bit more than ;) what I was looking for in the
> Container documentation.
>
>> But those contracts are yet experimental.
>
> Does this mean they are not documentable yet?

No, I implemented those contracts to experiments a bit with allocplus
(https://svn.boost.org/trac/boost/wiki/LibrariesUnderConstruction, see
Allocplus) and Interprocess also uses them. I think those contracts need
some more discussion to propose an extended, performance related
allocator interface. Then Boost.Container could support such allocators.

At the moment, Boost.Container aims to support shared memory containers
and move semantics. In the short term, it should implement C++0x
container requirements, including stateful allocator protocols.

Best,

Ion


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