title: template paramater - pointer to templated type
body: <p>Considering this example:</p>
  
  <pre><code>template&lt; typename T, T &amp;V&gt;
  void doSomething() {
      V = 1;
  }
  
  int i;
  double d1, d2;
  
  int main() {
      doSomething&lt; int, i&gt;();
      doSomething&lt; double, d1&gt;();
      doSomething&lt; double, d2&gt;();
      return 0;
  }
  </code></pre>
  
  <p>Is it possible to eliminate type names in the invocations? Something like this:</p>
  
  <pre><code>    doSomething&lt; i&gt;();
      doSomething&lt; d1&gt;();
      doSomething&lt; d2&gt;();
  </code></pre>
  
  <p>Note that the function signature shouldn't change. You still have to be able to use it as this:</p>
  
  <pre><code>typedef void (*THandler)();
  
  THandler handlers[] = {
      &amp;doSomething&lt; int, i&gt;,
      &amp;doSomething&lt; double, d1&gt;,
      &amp;doSomething&lt; double, d2&gt;
  };
  </code></pre>