title: definition of implicitly-declared destructor
body: <p>in my header file for my HuffmanTree binary tree class I have the declaration of my destructor:</p>
  
  <pre><code>//huffman.h
  using namespace std;
  
  #ifndef HuffmanTree_H
  #define HuffmanTree_H
  class HuffmanTree
  {
          public:
          ~HuffmanTree();
  };
  #endif
  </code></pre>
  
  <p>and in my cpp file I have the implementation of my destructor</p>
  
  <pre><code>//huffman.cpp
  
  #include "huffman.h"
  
  using namespace std;
  
  //destructor
  HuffmanTree::~HuffmanTree()
  {
  
  }
  </code></pre>
  
  <p>note: I have not finished writing the destructor body because I want it to compile</p>
  
  <p>the exact text of the error is: </p>
  
  <pre><code>huffman.cpp:8:27: error: definition of implicitly-declared ‘HuffmanTree::~HuffmanTree()’
      HuffmanTree::~HuffmanTree()
                                ^
  </code></pre>
  
  <p>thank you for any help you can give</p>