[Bug libstdc++/51359] std::string::reserve inefficiency/possible accidental behavior with reserve()

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 30 17:13:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-11-30 16:48:40 UTC ---
Maybe something could be fine tuned here, but really, after all these years and
the very serious ABI issues with std::string, and, last but not least, the fact
that in C++11, the implementation will be completely different anyway (can't be
reference counted) nothing is going to happen here, sorry.



More information about the Gcc-bugs mailing list