Destruction of non-pointer members of a class
<p>When is a non-pointer member of a class destructed? Example:</p>

<pre><code>class foo {
   private:
    int a;
   public:
    foo(int sa):a(sa){}
    ~foo(){}//does anything need to be done here?
 };

{
   foo(10);
}//the destructor is called
</code></pre>

<p>Should anything be done inside the destructor? Thanks!</p>
