From: Alexandre Oliva <oliva@dcc.unicamp.br>
To: ecmorgan@lucent.com
Cc: egcs@egcs.cygnus.com
Subject: Re: STL string::reserve(size_t)
Date: Mon, 31 May 1999 21:36:00 -0000 [thread overview]
Message-ID: <orpv402jw1.fsf@lua.lbi.dcc.unicamp.br> (raw)
Message-ID: <19990531213600.50iY_ZBePJkqg-iUwKQd9yjU6Ss9X3oVLxE0CB5a6hk@z> (raw)
In-Reply-To: <199905111818.OAA11733@xena.micro.lucent.com>
On May 11, 1999, ecmorgan@lucent.com wrote:
> What I'd like to do is reserve a chunk of data for string since I
> know ahead of time approximately how big it's going to be. How do
> you do it?
reserve is the way to go, but, according to you, it's not implemented
yet :-(
You may want to help the libstdc++-v3 folks, if this is not
implemented there already.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists
next prev parent reply other threads:[~1999-05-31 21:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-11 11:18 ecmorgan
1999-05-17 1:14 ` Alexandre Oliva [this message]
1999-05-31 21:36 ` Alexandre Oliva
1999-05-31 21:36 ` ecmorgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=orpv402jw1.fsf@lua.lbi.dcc.unicamp.br \
--to=oliva@dcc.unicamp.br \
--cc=ecmorgan@lucent.com \
--cc=egcs@egcs.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).