[webkit-dev] Why Foo& bar and not Foo &bar?

Eric Seidel eseidel at apple.com
Thu Sep 15 17:28:04 PDT 2005


http://webkit.opendarwin.org/blog/?page_id=25

Pointer and reference types - pointer types should be written with a  
space between the type name and the * (so the * is adjacent to the  
following identifier if any). For reference types, the & goes next to  
the type name.

Why?

What if you write:

Foo& bar, & baz?

Makes no sense to me.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20050915/3f944315/attachment.html


More information about the webkit-dev mailing list