[Bug libstdc++/20114] Non-monotonic behavior of string::reserve

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Mon Feb 21 14:50:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list