'const Name &var' or 'const Name& var'?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/558474/what-makes-more-sense-char-string-or-char-string">What makes more sense - char* string or char *string?</a>  </p>
</blockquote>



<p>Sorry if this is a silly question, I am new to these things :-)</p>

<p>I am working on a C++ code base which uses the following reference conventions:</p>

<ul>
<li>const Name &amp;var</li>
<li>const Name&amp; var</li>
</ul>

<p>As far as I'm aware, they mean the same thing.</p>

<p>Which of these is either of these preferred, or mandated? </p>

<p>I don't like the ambiguity of having to choose one or the other.</p>

<p>The closest I have found to this answer is on <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Reference_Arguments" rel="nofollow">http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Reference_Arguments</a> , which uses the &amp;var layout.</p>
