This is the mail archive of the gcc-help@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]

Details of new std::string


GCC 5 includes the new std::string implementation that I guess is
optimized for small strings.

Where can I find details about the new implementation compared to the
old?  Specifically, I am interested in predicting when the object will
allocate additional memory.  The old string was very predictable in
this regard, and this is important for certain embedded systems.


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