Is map container declared in class getting destroyed when the class is destroyed?
<p>When the object <code>a</code> is destroyed, is the <code>personsInHouse</code> map also destroyed or I need to destroy it in destructor? Will it create memory leak if I don't?</p>

<pre><code>class A {
public:
    map&lt;unsigned int, unsigned int&gt; personsInHouse;
};

int main(){
    A a;
   A.hash[10] = 23;
};
</code></pre>
