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

Peter Kasting pkasting at chromium.org
Tue Oct 4 14:11:36 PDT 2011


On Tue, Oct 4, 2011 at 2:06 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:

> In my understanding, we use pass by reference for out arguments when they
> have to be modified in callees.
>

I had not heard this.

Personally I weakly prefer pointers to non-const refs for outparams, but if
there is convention the other way that's fine.

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


More information about the webkit-dev mailing list