title: avoiding template definition in header file
body: <p>I have the following class defined in a header A.h :</p>
  
  <pre><code>class A {
  
  private:
  
  template&lt;int i&gt;
  void method();
  
  };
  </code></pre>
  
  <p>is there any way for me to keep the implementation of <code>method</code> in its own A.cpp file , with the usual method implementations ? 
  I'm asking this because puting the implementation in a A.h would make the interface very hard to read, especially since it's a private function. </p>
  
  <p>It will only ever be instanciated with a limited values of "i" if that matters</p>