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++/20114] Non-monotonic behavior of string::reserve


------- Additional Comments From pcarlini at suse dot de  2005-02-20 22:57 -------
Humm, actually the fix seems very simple and also cures an old itch of mine,
thanks for this! We should just call _S_create passing the current size *not*
capacity as the second argument. Stay tuned...

-- 


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


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