title: State Error C2440:" '=': cannot convert from 'const FDHNode<ItemType> *' to 'FDHNode<ItemType> *'"?
body: <p>I keep getting the error "C2440:"   '=': cannot convert from 'const FDHNode *' to 'FDHNode *" and I cannot for the life of me figure it out. Here is my code and the defining function where the issue is coming from apparently.</p>
  
  <pre><code>template&lt;class ItemType&gt;
  class FDHNode
  {
    private:
      ItemType coeff; //Data item representing coefficient
      ItemType expon; //Data item representing exponent
      FDHNode&lt;ItemType&gt;* next; //Pointer to a next node 
    public:
      FDHNode();
      FDHNode(const ItemType&amp; coeffi, const ItemType&amp; expone);
      FDHNode(const ItemType&amp; coeffi, FDHNode&lt;ItemType&gt;* nextNodePtr);
      void setCoeffi(const ItemType&amp; aCoeffi);
      void setExpon(const ItemType&amp; anExpon);
      void setNext(const FDHNode&lt;ItemType&gt;* NEXTPTR);
      ItemType getCoeffi();
      ItemType getExpon();
      FDHNode&lt;ItemType&gt;* getNext();
  
      void print();
  
  
   };
  
  template&lt;class ItemType&gt;
  void FDHNode&lt;ItemType&gt;::setNext(const FDHNode&lt;ItemType&gt;* NEXTPTR)
  {
      next = NEXTPTR;
  }
  </code></pre>