This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Details of new std::string
- From: NightStrike <nightstrike at gmail dot com>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 3 Aug 2015 22:35:36 -0400
- Subject: Details of new std::string
- Authentication-results: sourceware.org; auth=none
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.