title: C++ abstract class destructor
body: <p>Is it good practice (and is it possible) to create an abstract class using only a pure virtual destructor in the parent class?</p>
  
  <p>Here's a sample</p>
  
  <pre><code>class AbstractBase {
  public:
      AbstractBase () {}
      virtual ~AbstractBase () = 0;
  };
  
  class Derived : public AbstractBase {
  public:
      Derived() {}
      virtual ~Derived() {}
  };
  </code></pre>
  
  <p>Otherwise how can I create an abstract class if the attributes and constructors of the derivatives class are all the same while the other method are totally different?</p>