This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-07-04 04:34 -------
Well for one push_back takes "const T&".  This is what I was talking about, you
can't really get any better in that case.  Now the resize case is a different
story.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]