Class basic operators
<p>Is it necessary to have a copy constructor, destructor and operator= in a class that have only static data member, no pointer</p>

<pre><code>class myClass{
    int dm;
public:
     myClass(){
         dm = 1;
     }
     ~myClass(){ } // Is this line usefull ?
     myClass(const myClass&amp; myObj){    // and that operator?
         this-&gt;dm = myObj.dm;
     }
     myClass&amp; operator=(const myClass&amp; myObj){    // and that one?
         if(this != &amp;myObj){
             this-&gt;dm = myObj.dm;
         }
         return *this;
     }
};
</code></pre>

<p>I read that the compiler build one for us, so it is better to not have one (when we add a data member we have to update the operators)</p>
