public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/32618] std::vector calls uneccessary constructors instead of inplace construction of first object Date: Wed, 28 Nov 2007 00:57:00 -0000 [thread overview] Message-ID: <20071128005653.6865.qmail@sourceware.org> (raw) In-Reply-To: <bug-32618-11420@http.gcc.gnu.org/bugzilla/> ------- Comment #6 from pcarlini at suse dot de 2007-11-28 00:56 ------- Just a short note to follow up to my first message: as expected, in the next standard both push_back and resize will be very different. The signature of the new push_back, already available under the experimental C++0x mode, becomes: template<typename... Args> void push_back(Args&&... args) As regards resize, will be split into: resize(size_type) resize(size_type, const T&) I'm considering implementing the new resize too under C++0x, in that case this PR will be closed. -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pcarlini at suse dot de Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-11-28 00:56:53 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32618
next prev parent reply other threads:[~2007-11-28 0:57 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-07-04 0:46 [Bug libstdc++/32618] New: " oliver at kfs dot org 2007-07-04 0:52 ` [Bug libstdc++/32618] " pinskia at gcc dot gnu dot org 2007-07-04 1:03 ` pcarlini at suse dot de 2007-07-04 4:27 ` oliver at kfs dot org 2007-07-04 4:34 ` pinskia at gcc dot gnu dot org 2007-07-04 5:45 ` oliver at kfs dot org 2007-11-28 0:57 ` pcarlini at suse dot de [this message] 2008-01-02 20:37 ` pcarlini at suse dot de 2009-12-02 0:01 ` paolo dot carlini at oracle dot com 2010-01-08 15:42 ` paolo dot carlini at oracle dot com 2010-06-16 11:04 ` paolo dot carlini at oracle dot com 2010-06-18 18:08 ` paolo at gcc dot gnu dot org 2010-06-18 18:22 ` paolo dot carlini at oracle dot com
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=20071128005653.6865.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).