stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Diduck" <>
Subject "Pluggable Memory"
Date Sun, 04 Sep 2005 16:49:59 GMT
To all: Here is an issue that may impact stdcxx. 
This was just put up there, and written by a guy I work with Palbo Halpern,
and is a proposal to overhaul the STL containers to take polymorphic
allocators as the default, and furthermore to pass these allocators around
from container to container.

I don't know how the library committee reviews these proposals. However, a
way we could promote Apache stdcxx is to offer a realistic solution, that
operates with the Apache "Pluggable Memory" concept.
( and ) There is an STL solution
that shouldn't require changes to the standard, and works for all vendors
(at least the ones that take optional allocator arguments). Using the STL
with polymorphic allocators makes some of the interface ambiguous however. A
more usable solution, could be an adapter that would not assume that
allocators compare equal, and enforces post-conditions (based on a policy)
that th standard does not address.

I have a paper here
that could be the start of a doc on how to use Pluggable Memory with STL


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message