[Bug libstdc++/32618] std::vector calls uneccessary constructors instead of inplace construction of first object

oliver at kfs dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 4 05:45:00 GMT 2007



------- Comment #5 from oliver at kfs dot org  2007-07-04 05:45 -------
Doh - yes - you're completely right about push_back. push_back itself isn't
incurring the temporary variable, Foo() is. Lost track of that investigating
the resize thing.



-- 


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



More information about the Gcc-bugs mailing list