On Tue, May 31, 2011 at 12:08 PM, Geoffrey Garen <gga...@apple.com> wrote: > > So, perhaps the real style question we should answer is when to use const > pointers / references, since the answer to when to use const member > functions will follow from it. > > What are some good examples of existing code that meaningfully uses a const > pointer or reference? (Something other than, say, the obligatory const& in a > copy constructor.) >
I think const reference to String and const pointers to CSSStyleDeclaration/CSSMutableStyleDeclaration are good examples. - Ryosuke
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev