Boost logo

Boost :

From: Daniel James (daniel_at_[hidden])
Date: 2005-03-24 16:38:03


David Abrahams wrote:
> Dan Rosen <dan.rosen_at_[hidden]> writes:
>
>>It seems like using allocators properly does impose some real design
>>decisions and restrictions. I think I'll study the Dinkumware STL
>>implementation
>
>
> I suggest you look at Dinkumware and one other side-by-side, since
> Dinkumware does something almost no other STL does: they implemented
> the optional support for allocators of the same type that don't always
> compare equal.

It's also worth reading:

http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2004/n1599.html

which is about implementing swap for unequal allocators.


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