This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: std::string::reserve()
- From: Neil Ferguson <nferguso at eso dot org>
- To: LibStdC++ General List <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 03 Dec 2004 14:44:52 +0100
- Subject: Re: std::string::reserve()
- References: <402A9983.50600@eso.org> <402AAB6A.7070101@suse.de> <402AB08B.9060305@suse.de> <402B8521.9010706@eso.org> <402B883A.4060506@suse.de> <4035D65C.4050607@eso.org> <419DA7ED.4010808@eso.org> <20041123231556.4830b539.bkoz@redhat.com> <41A45FCF.1050601@suse.de> <41A47AFF.5080200@eso.org> <41A4B8E6.20904@suse.de> <41A4DF2F.90104@eso.org> <41A51FCF.9010203@suse.de>
Testing looks good at this end :-)
I see you've put it into CVS now - thank you!
Neil.
Paolo Carlini wrote:
You can find the one-liner attached: appears to work fine here but you
are the shrink-to-fit power-user, not me ;) The patch is of course
against current mainline, not 3.4, sorry (basic_string is already rather
different). I hope this is not a problem for your own tests.
Soon,
Paolo.