title: const variable as non-type template parameter (VARIABLE cannot appear in a constant-expression)
body: <p>Why does this work?</p>
  
  <pre><code>char __nontype[] = "foo";
  typedef TemplateClass&lt;T, __nontype&gt; MyClass;
  </code></pre>
  
  <p>But this (with a  constant variable) not?</p>
  
  <pre><code>const char __nontype[] = "foo";
  typedef TemplateClass&lt;T, __nontype&gt; MyClass;
  </code></pre>
  
  <p>Compiler Error: </p>
  
  <p>error: ‘__nontype’ cannot appear in a constant-expression</p>
  
  <p>error: template argument 2 is invalid</p>