[webkit-dev] String::operator+= considered harmful

Mike Lawther mikelawther at chromium.org
Tue Sep 4 17:16:07 PDT 2012

On 5 September 2012 09:44, Dirk Schulze <dschulze at adobe.com> wrote:

>  It is very likely that even future code will land with this operator
> instead of StringBuilder.

Not if Adam removes the operator as he proposed earlier :)

If operator+= cannot be made sufficiently efficient, we could always leave
the operator there, but have it ASSERT with a message saying to use

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120905/d441efbb/attachment.html>

More information about the webkit-dev mailing list