[Bug libstdc++/42242] vector::resize could be split up into two different functions

chris at bubblescope dot net gcc-bugzilla@gcc.gnu.org
Tue Dec 1 19:07:00 GMT 2009



------- Comment #10 from chris at bubblescope dot net  2009-12-01 19:07 -------
Anyway, the result of this bug is that the fix to resize() given in the latest
draft of C++0x should be applied. The resulting code would only be invoked if
you ask the compiler to use C++0x mode, but if care about performance you
should be doing this anyway, I suspect your types may well benefit from rvalue
references.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42242



More information about the Gcc-bugs mailing list