This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: COW strings in libstdc++
Brendan Miller wrote:
> It looks like the current implementation of string in libstdc++ is
> copy on write correct? Is this also true of gcc 3.4?
It is certainly true, and the fact that we didn't break the ABI since
confirms that.
> Is this behavior
> guaranteed for the future, or will C++0x somehow require a change
> here?
>
It will require a change, since COW strings will be forbidden.
Paolo.