
24 Mar
2005
24 Mar
'05
9:38 p.m.
David Abrahams wrote:
Dan Rosen <dan.rosen@gmail.com> 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.