[webkit-dev] Change to style guideline: should use type& instead of type* for out arguments

Ryosuke Niwa rniwa at webkit.org
Tue Oct 4 14:06:46 PDT 2011


Hi,

It came to my attention that some people are using raw pointers to pass
out-arguments (e.g. bug 69366). In my understanding, we use pass by
reference for out arguments when they have to be modified in callees.

If there's no objection, I'm going to file a bug & upload a patch to state
this explicitly in the style guideline.

Best,
Ryosuke Niwa
Software Engineer
Google Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111004/84e9d24f/attachment.html>


More information about the webkit-dev mailing list