[webkit-dev] Using C++ constant local variables in WebKit

Alexey Proskuryakov ap at webkit.org
Wed Nov 30 17:12:34 PST 2011

30.11.2011, в 17:00, David Kilzer написал(а):

> -                char* bufferStart = bufferPos;
> +                char* const bufferStart = bufferPos;

FWIW, working with code that parses strings is when I also always find myself eager to use const local variables (pointers or indices).

- WBR, Alexey Proskuryakov

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

More information about the webkit-dev mailing list