This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Proposal for std::vector.
- From: "Stephen M. Webb" <bregma at interlog dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Fri, 6 Feb 2004 08:51:42 -0500
- Subject: Re: Proposal for std::vector.
- References: <1076071838.6311.5.camel@localhost.localdomain>
- Reply-to: bregma at interlog dot com
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.
--
Stephen M. Webb
stephen.webb@bregmasoft.com