title: C++11 Templates Types
body: <pre><code>template&lt;int T&gt;
  struct TypeReturn{
  
          string Type() { return "int";}
  };
  
  int main() { cout &lt;&lt; TypeReturn&lt;int&gt;::Type &lt;&lt; endl;}
  </code></pre>
  
  <p>"error: redeclared here as ‘int T’
   struct TypeReturn{"</p>