Status of std::string ABI change

Jonathan Wakely jwakely.gcc@gmail.com
Mon Nov 25 12:18:00 GMT 2013


On 24 November 2013 23:01, Peter A. Bigot <pab@pabigot.com> wrote:
> TL;DR: When will the underlying implementation of std::string in GCC
> provde a non-copy-on-write implementation by default, through a
> supported configuration-time option, or by selecting alternative
> header/library configurations during application build?

We now have a mechanism to allow two std::string implementations to
co-exist in a single executable, using the abi_tag attribute to use
different name mangling for the newer implementation (and any types
depending on it).

I think the plan is to start using that attribute only when we have
better tools for identifying and measuring ABI changes, to ensure we
get the ABI changes right first time and don't screw things up.  I
expect to be working on those tools in the new year.



More information about the Libstdc++ mailing list