Proposal for std::vector.
Dhruv Matani
dhruvbird@gmx.net
Fri Feb 6 14:56:00 GMT 2004
On Fri, 2004-02-06 at 19:21, Stephen M. Webb wrote:
> On Friday, February 06 2004 07:51, Dhruv Matani wrote:
> > The relevant discussion can be found by searching google for:
> > About std::vector and standard containers in general.
> >
> >
> > Wierd as it may seem, are standard containers such as std::vector
> > allowed
> > to derive from std::allocator, or more generally from an allocator
> > class?
>
> Some implementations do this. Vector is the trivial case. Consider what you
> would do with deque and map.
Leave them as they are because they would probably not be using
stateless allocators.
--
-Dhruv Matani.
http://www.geocities.com/dhruvbird/
More information about the Libstdc++
mailing list