title: auto* vs. auto in C++
body: <p>Is there any difference between <code>auto*</code> and <code>auto</code> when they are used for a pointer? For example,</p>
  
  <pre><code>TestClass t;
  auto* a = &amp;t;
  auto b = &amp;t;
  
  a-&gt;doSomething();
  b-&gt;doSomething();
  </code></pre>
  
  <p>I am wondering if they are different.</p>