On 07/04/2010 10:02 PM, Niels Dekker - address until 2010-10-10 wrote: > Thanks, that's what I meant indeed. (In fact I got the word > "conforming" from gcc.gnu.org/gcc-4.1/changes.html which says that > __versa_string provides "facilities conforming to the standard > requirements for basic_string". But indeed, C++03 does allow COW > implementations of std::string.) As a matter of fact, if you really meant the very old 4.1 release series, back in those times the C++0x working paper still allowed reference counting. If I remember correctly the decision dates circa the Sophia Antipolis meeting. > Okay, so basically __versa_string is a starting point for the > std::string implementation of the future, right? Is there any target > date or target GCC release version for this new implementation to be > included as the new std::basic_string? Not yet, I'm sorry. As far as I can see - but I know somebody is still trying to figure out alternate strategies - rolling in a new implementation means breaking the ABI. Nasty issues.
Paolo.