[webkit-dev] On returning mutable pointers from const methods

Peter Kasting pkasting at chromium.org
Sun Oct 28 14:40:25 PDT 2012


On Sun, Oct 28, 2012 at 2:29 PM, Filip Pizlo <fpizlo at apple.com> wrote:

> It is useful to say that "getting a pointer to T from an object of type S
> does not change S's state".
>

That's pretty much the definition of physical constness.

PK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121028/90a543db/attachment.html>


More information about the webkit-dev mailing list