On Thu, Oct 25, 2012 at 3:48 AM, Andreas Kling <[email protected]> wrote:

> So, I propose that we allow only these two signature formats for raw
> pointers:
>
> - const Foo* foo() const;
> - Foo* foo();
>

This was part of a discussion I had on this list (IIRC) a while back.  The
context was the larger issue of const-correctness in general, but my memory
says that this principle didn't cause too much disagreement.

There are an enormous number of violations of it in the existing codebase,
some of which are quite tricky to fix properly.  I think I landed a few
cleanups to Node or some other such core class related to this before going
off to work on other stuff.

PK
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to