title: C++ Template w/ Pointers - Could not convert template argument
body: <p>I am trying to implement a template </p>
  
  <pre><code>template &lt;class object_t, long size, object_t nullObject&gt;
  class lf_deque
  {
    // ...
  }
  </code></pre>
  
  <p>when I try to instantiate this template with an int, it compiles fine, but if I try to instantiate with a pointer i get the error:</p>
  
  <pre><code>could not convert template argument '0' to 'int*'
  </code></pre>
  
  <p><b></b></p>
  
  <pre><code>lf_deque&lt;int,  10, 0&gt; intDeque; // WORKS
  lf_deque&lt;int*, 10, 0&gt; ptrDeque; // ERROR
  </code></pre>
  
  <p>any thoughts or ideas why i would get this inconsistency?</p>