Containers
Per Nordlöw
per.nordlow at gmail.com
Wed Sep 1 20:48:10 UTC 2021
On Wednesday, 1 September 2021 at 00:52:04 UTC, deadalnix wrote:
> You seem to be confused. The C++11 standard prohibits
> std::string from using COW. Existing C++ implementations were
> using COW, and getting out of it was what was a disaster
> (notably, there were breaking ABI changes, which the C++
> ecosystem is not well suited to handle).
In what ways was it a disaster? Because most strings are small
enough to benefit from the small string optimization?
More information about the Digitalmars-d
mailing list