This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Custom allocator for vector and libstdc++-v3
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Alex Vinokur <alexvn at connect dot to>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 16 Aug 2004 12:37:40 +0200
- Subject: Re: Custom allocator for vector and libstdc++-v3
- References: <cfpfbi$8eg$1@sea.gmane.org>
Hi,
only a quick comment:
The more specific question: do we need construct() and destroy() indeed? For instance, g++ doesn't use them.
That's no longer true: have a look to the current code in CVS (in
particular stl_construct.h, stl_uninitialized.h) and to these discussion
threads:
http://gcc.gnu.org/ml/libstdc++/2004-07/msg00124.html
http://gcc.gnu.org/ml/libstdc++/2004-07/msg00157.html
Paolo.