This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Custom allocator for vector and libstdc++-v3


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]