Custom allocator for vector and libstdc++-v3

Alex Vinokur alexvn@connect.to
Mon Aug 16 10:49:00 GMT 2004


"Paolo Carlini" <pcarlini@suse.de> wrote in message news:41208E74.7030900@suse.de...
> 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.
>
>

Thanks.

When will it be fixed in g++?
g++ (GCC) 3.3.3 (cygwin special) and gpp.exe (GCC) 3.4.1 (djgpp) don't invoke construct() and destroy().


-- 
   Alex Vinokur
     http://mathforum.org/library/view/10978.html
     http://sourceforge.net/users/alexvn







More information about the Libstdc++ mailing list