Custom allocator for vector and libstdc++-v3

Paolo Carlini pcarlini@suse.de
Mon Aug 16 10:36:00 GMT 2004


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.



More information about the Libstdc++ mailing list