|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-08-29 19:05:35
Gregory Colvin <gregory.colvin_at_[hidden]> writes:
> * use the standard parameterization mechanisms (Allocator) when
> choosing to parameterize
I'm not sure about this one. std::allocator are a mess, and almost
everyone knows it. They were designed for containers, and they only
barely work there, IMO. Remember the weasel-wording about unequal
allocators and the assumptions implementations are allowed to make
about allocator's nested types? I really don't want to be in the
position of forcing library authors to match users' expectations about
the way their particular implementation's allocators work.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk