[webkit-dev] Do we have a style preference about const member functions?

Darin Adler darin at apple.com
Fri Jun 3 17:59:33 PDT 2011


On Jun 3, 2011, at 5:46 PM, Peter Kasting wrote:

> From the perspective of Node itself, I'm not sure why this would be a "big task". There shouldn't be any const accessors that return non-const pointers. Simply removing the "const" qualifier on all the above accessors would make things correct, at the expense of possibly making it difficult to use a const Node*.

Maybe you can give it a try and report back. I think you’ll find that this is an enormous task.

    -- Darin



More information about the webkit-dev mailing list