title: Error when creating a pointer of template object, "the value of `num` is not usable in a constant exp"
body: <p>I'm trying to create a pointer of template object using it's constructor:</p>
  <pre class="lang-c prettyprint-override"><code>int num = 10;
  templateClass&lt;int&gt;* testPInt = new templateClass&lt;num&gt;;
  </code></pre>
  <p>When i compile the program:</p>
  <pre><code>error: the value of `num` is not usable in a constant expression
  </code></pre>
  <p>How do i solve that? i mean the experssion is not constant :/</p>