title: decltype error C2440 cannot convert from 'int *' to 'int *&'
body: <p>The following is a contrived example of the actual code:</p>
  
  <pre><code>int** Ptr = 0;
  decltype(Ptr[0]) Test = (int*)0;
  </code></pre>
  
  <p>I get the error:</p>
  
  <blockquote>
    <p>error C2440: 'initializing': cannot convert from 'int *' to 'int *&amp;'</p>
  </blockquote>
  
  <p>I'm not sure why I'm getting that since from my understand of <code>decltype</code> (correct me if I'm wrong) it just takes whatever expression you give it and resolve it to its actual type. In this case <code>Ptr[0]</code> is an <code>int*</code> so I'm expecting: <code>int* Test = (int*)0;</code></p>
  
  <p>What am I missing? Why am I getting that error?</p>