This meta-bug tracks work on a new, ABI-breaking, basic_string implementation. Currently, we have refactored code in v7-branch which includes two alternative base classes: one doesn't use reference counting, is optimized for short strings and includes (simulated) move constructor and assignment operator (is rather similar to Design D in Effective STL.
A few recent threads about this topic: - Alternative tradeoffs: http://gcc.gnu.org/ml/libstdc++/2005-11/msg00013.html - Special mini-string for <stdexcept>: http://gcc.gnu.org/ml/libstdc++/2005-11/msg00166.html -- Summary: [meta-bug] Non-refcounted, moveable basic_string Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pcarlini at suse dot de OtherBugsDependingO 16612,19495,21334,24196 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24882